java quiz | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

java quiz

Use Student class as the superclass of the hierarchy, and then extend the Student class with classes Undergraduate Student and GraduateStudent. Continue to extend the hierarchy as deep (i.e., as many levels) as possible. For example, Freshman, and Senior might extend UndergraduateStudent, and DoctoralStudent and MastersStudent might be subclasses of GraduateStudent. Implement the inheritance hierarchy (write code) based on the above.

30th Aug 2017, 4:28 PM
musungu bill
musungu bill - avatar
1 Answer
0
loosu ngala.. Enga da code a kanom.. Where is the code u stupid idiots...
3rd Feb 2019, 8:36 AM
Divya Nesana