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
What do you understand by the phrase, "Objects encapsulate state and behaviour"?
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?
How do objects communicate with each other? Explain.