Basic and Advance Programming Question:

What do you meant by active and passive objects?

Programming Interview Question
Programming Interview Question

Answer:

Active objects are one which instigate an interaction which owns a thread and they are responsible for handling control to other objects. In simple words it can be referred as client.
Passive objects are one, which passively waits for the message to be processed. It waits for another object that requires its services. In simple words it can be referred as server.


Previous QuestionNext Question
What are the steps involved in designing in programming?Differentiate persistent & non-persistent programming objects?