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