Home »
MCQs »
OOPs MCQs
When a program is executed, the ____ interacted by sending a message to one another
2. When a program is executed, the ____ interacted by sending a message to one another.
- Objects
- Classes
- Operating system
- Memory
Answer: A) Objects
Explanation:
When a program is executed, the objects interact by sending a message to one another. For example, if "customer" and "account" are two objects in a program, then the customer object may send a message to the account object requesting the back balance.