Logo 
Search:

OOAD FAQ

Submit Interview FAQ
Home » Interview FAQ » OOADRSS Feeds

What do you meant by active and passive objects?

  Shared By: Adah Miller    Date: Jan 25    Category: OOAD    Views: 860

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.

Diagram:
client server
(Active) (Passive)

Share: 
 

Didn't find what you were looking for? Find more on What do you meant by active and passive objects? Or get search suggestion and latest updates.


Your Comment
  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].


Tagged: