Question: JAVA language Use the concept of inheritance, suppose we are required to model students and teachers in an application where we have a sub-head called

JAVA language

Use the concept of inheritance, suppose we are required to model students and teachers in an application where we have a sub-head called Person to store generic properties such as name, address, and subcategories flag. Each of them has its own characteristics, variables, and functions.

For students, we need to store the studied materials and the grades of each. Provided that no more than 5 subjects are taken, and the print the subjects, grades, and the average.

for the teachers, we need to store and display the taught materials, provided that no more than 3 subjects are taught.

plz read the requirement carefully and the data of student and teacher must be entered by the user.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!