If we have Student, Graduate, and PostGraduate classes, which one will be the superclass?
16 Likes
Student will be the superclass.
Answered By
8 Likes
What are the other names for superclass and subclass?
If ClassA inherits from ClassB, which is a superclass? Which is a subclass?
What do you understand by the phrase, "Objects encapsulate state and behaviour"?
How do objects communicate with each other? Explain.