Computer Science, asked by Abhikhya45, 10 hours ago

how do objects interact with one another?give an example​

Answers

Answered by jisso30
2

Answer:

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.

Answered by sweetboy43
4

Answer:

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.

Explanation:

hope it is helpful please follow add brain list

Similar questions