Meaning of active and passive objects

Illustrate in brief the meaning of active and passive objects?

E

Expert

Verified

The active objects are one which instigates an interaction that owns a thread and they are answerable for handling control to the other objects. In simple terms it can be referred as client.

The passive objects are one that passively waits for the message to be processed. This waits for the other object which needs its services. In simple terms it can be termed to as server.

   Related Questions in Programming Languages

  • Q : Compute Days Between Ordering and

    An analyst in the quality assurance office reviews the time lapse between receiving an order and shipping an order. Any orders which have not been shipped in a day of the order being positioned are investigated. Build a function named ORD_SHIP_SF which computes the nu

  • Q : What are the major issues related with

    What are the major issues related with multiprocessor caches and how might you resolve them?

  • Q : Describe MCP or Model Checker for C plus

    MCP: Model Checker for C++ (MCP) is an explicit-state software model checker being introduced by the Robust Software Engineering group at NASA Ames Research Center (Thompson and Brat, 2008). MCP was constructed specifically to allow programs written i

  • Q : Illustrates database connection pooling

    Illustrates database connection pooling which is relative to MTS. Answer: This permits MTS to reuse database connections. Pooling of database connections are put to

  • Q : What are Logical operators Logical

    Logical operators: The operators, like &&, ||, &, | and ^ which take two Boolean operands and generate a Boolean outcome. Employed as part of a Boolean expression, frequently in the condition of the control structure.

  • Q : Define Class scope Class scope :

    Class scope: Private variables stated outside the methods in a class contain class scope. They are available from all methods within a class, in spite of the order in which they are stated. The private methods too contain class scope. Variables and me

  • Q : What is the QuickTest Pro testing

    What is the QuickTest Pro testing process?

  • Q : What do you mean by data movement What

    What do you mean by data movement? Describe in brief.

  • Q : How class and a structure are different

    How class and a structure are different?

  • Q : What is an Interrupt Interrupt : This

    Interrupt: This is an asynchronous message sent to a process or thread which interrupts what it is at present doing. This generally outcomes in an InterruptedException object being received by an interrupted thread. Waiting for an int

©TutorsGlobe All rights reserved 2022-2023.