Question: 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
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 fi parameters. Implement a method viva() with return type int to calculate the project marks. Inherit the Project clas into another class named SetConference and use two constructors and a method viva() like project class. Write 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
Get step-by-step solutions from verified subject matter experts
