how do object interact with each other give example
Answers
Answered by
2
Answer:
software objects communicate and interact with each other in two ways: by calling (or invoking) each other's methods or by directly accessing their variables. Calling an instance method: ... Sometimes the called object's method needs additional information in order to perform its task.
Similar questions