Question: This program is focused on implementing inheritance and utilizing super and sub data types using lists of only super types. More specifically, if we create
This program is focused on implementing inheritance and utilizing super and sub data types
using lists of only super types. More specifically, if we create Graduate Students and PhD
Students, which have an inheritance or an isa relationship with the class Student, we dont
need three separate data structures to store those data types. Since Graduate Students and PhD
Students are all students, one list of data type Student will suffice.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
