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
Explain what a method is?
Explain about encapsulation?
What is data encapsulation and what's its significance?
What is function override?
Is it possible to provide method implementations in java interfaces? If possible, how do we provide them?
Explain about Overloading vs Overriding ?
Can an interface inherit from another interface?
Explain the implementation phase with respect to oop?
Can we override a method by using same method name and arguments but different return types?
Write down how will you create a Binary tree?
What is the difference between data hiding and implementation?
Difference between abstraction and implementation hiding ?
Can a class implement two interfaces having default method with same name and signature?
Why does java not support multiple inheritance?
What are abstract classes?