What Is Composition?
Answer / Rohitash Kumar Meena
In Core Java, Composition refers to a composite relationship between two classes where one class has an object of another class as a member variable. It is also known as Aggregation.
| Is This Answer Correct ? | 0 Yes | 0 No |
what are three ways in which a thread can enter the waiting state? : Java thread
What is a "pure virtual" member function?
What are order of precedence and associativity, and how are they used?
Hey buddy.. can you please tell me about the use of marker interface? And is there any link between marker interface and factory methods? Thanks in advance.
What is ellipsis in java?
What is final modifier?
Can a for statement loop indefinitely?
What is Overriding and how can it be used?
What is difference between hashset and hashmap in java?
What if constructor is protected in java?
Which variables are stored in heap?
Can we override the private methods?