How do objects interact with one another? Give an example.
Answers
Answered by
7
Answer:
Explanation:
An object's state is contained within its member variables and its behaviour is implemented through its methods. ... These objects interact with one another by sending each other messages. The result of a message is a method invocation which performs some action or modifies the state of the receiving object.
Please Please Please Add me in brainiest & Follow me
Similar questions