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 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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started