what is aggregation in java?



what is aggregation in java?..

Answer / Vinay Kumar Sahu

Aggregation in Java represents a 'has-a' relationship where one object has another object as a component, but the contained object can exist independently outside of the relationship. This is achieved using composition and association.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Explain the concept of proper inheritance?

1 Answers   Thomson Reuters, Virtusa,


can we add two numbers without using arthematic operators? if possible how?

5 Answers   CTS,


What is ResourceBundle class?

1 Answers  


Explain aggregation in java?

1 Answers  


How do you ensure that n threads can access n resources without deadlock?

1 Answers  


How is string stored in java?

1 Answers  


What is parsing in grammar?

1 Answers  


Why is a constant variable important?

1 Answers  


how to handle exceptions in ejb?

1 Answers   HCL,


What is OOP Language?

1 Answers   Atos Origin,


explain oops concepts with examples?

29 Answers   AbhiBus, Beeline, DELL, HCL, Satyam, TCS, VLS, Wipro,


Give an example of call be reference significance.

1 Answers   Agilent,


Categories