When do you prefer to use composition than aggregation?
Answer / naveen sisupalan
Composition is a stronger form of aggregation. If you are
sure that the life of the part is managed entirely by the
whole then you can go for composition. Without whole, the
part can't exist also.
| Is This Answer Correct ? | 7 Yes | 0 No |
If a method definition has been specified in class , its 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 polymorphism? When is it employed? give an example.
What are the four important foundation concepts of OOP ?
What are the rules to define a functional interface?
what three "domains" are considered during analysis modeling?
What is an abstraction?
What do you mean by abstract classes?
What is the difference between abstract & interface?
Explain the abstract class modifier?
What are the limitations of oops?
Explain about inheritance hierarchies?
Explain what you understand by function overloading.