What are the other names for superclass and subclass?
11 Likes
superclass is also known as base class and subclass is also known as derived class.
Answered By
7 Likes
If ClassA inherits from ClassB, which is a superclass? Which is a 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.