adspace


what is aggregation in java?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between equals() and == in java?

1050


What do you mean by an interface in java?

1110


What are the differences between heap and stack memory in java?

1153


What is a classloader in java?

1101


Realized?

2278


Write a program to print count of empty strings in java 8?

1095


What is parsing in java?

1052


Is minecraft 1.15 out?

1056


What is java string pool?

1091


What is the difference between break and continue statements?

1135


How to sort array in descending order in java?

1005


How to create a base64 decoder in java8?

1152


What is a constructor overloading in java?

1136


Write a program to find the whether a number is an Armstrong number or not?

1110


What is an object in java and how is it created?

1154