What do you meant by active and passive objects?



What do you meant by active and passive objects?..

Answer / Hemant Kumar Pandey

Active Objects are objects that can initiate actions, like threads or event listeners. They have their own life cycle and can take control of resources. Passive Objects, on the other hand, are objects that only respond to actions initiated by Active Objects. They don't have a life cycle of their own and don't manage resources directly.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

why HashTable not allow null key and value

2 Answers   Crimson Logic,


How to create packages in java?

1 Answers  


What is difference between Heap and Stack Memory?

1 Answers  


Why do I need to declare the type of a variable in java?

1 Answers  


What is a for loop in java?

1 Answers  


What is 3-tier model?

3 Answers   Wipro,


Do loops java?

1 Answers  


What will happen to the exception object after exception handling?

1 Answers  


Program to print 1 1 2 1 2 3 1 2 3 4 like that

8 Answers   Huawei,


What do you understand by access specifiers in Java?

1 Answers   Genpact,


What is a final class ?

1 Answers  


If two threads call a static method at the same point of time, what will happen?

3 Answers   KPIT,


Categories