How do objects communicate with each other? Explain.
19 Likes
Objects communicate with each other by sending messages. The sender object requests the receiver object to perform an action.
Answered By
12 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?
What are the other names for superclass and subclass?
How are classes and objects inter-related? Support your answer with an example.