Differentiate between Aggregation and containment?
Answer Posted / msh
Aggregation is interobject relationship. This relationship
occurs when one class contains another class.
Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
If a method definition has been specified in the base class and the interface which the class is implementing, which definition will be picked if we try to access it using interface reference and class object?
What is the difference between a class and an object?
Explain what is polymorphism?
What are the methods required to create changes in subclasses?
What is the difference between aggregation and composition?
Tell me something about abstract classes?
What is virtual multiple inheritance?
Can an interface implement or extend another interface?
What is an abstraction and why is it important?
Can an interface inherit from another interface?
What is the difference between multiple and multilevel inheritance?
What is the difference between an abstract class and interface in java?
What is the difference between class inheritance and interface inheritance?
Why is OOP good?
What is the difference between a virtual method and an abstract method?