Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Define a class named Project with five parameters prj_ID, prj_Title, prj_MembersName, CourseName and prj_GuideName. Define two parameterized constructors for prj_ID, prj_Title and in another constructor

Define a class named Project with five parameters prj_ID, prj_Title, prj_MembersName, CourseName and prj_GuideName. Define two parameterized constructors for prj_ID, prj_Title and in another constructor pass all five parameters. Implement a method viva() with return type int to calculate the project marks. Inherit the Project class into another class named SetConference and use two constructors and a method viva() like project class. Write the main method in the child class. Create an object of child class having a five parameter constructor. Display the information of both the constructors of the parent class Project and also both the constructors of child class SetConference. Show the details of viva information from Child class SetConference.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Marketing The Ultimate Marketing Tool

Authors: Edward L. Nash

1st Edition

0070460639, 978-0070460638

More Books

Students also viewed these Databases questions