Which of the following is tightly bound ? Inheritance or composition ?
Answer Posted / akshay
Inheritance - classes are get tightly coupled with each other. Also it develops blood relationship between the classes.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the features that are provided to make a program modular?
Explain the mechanism of composition?
What is abstraction? How does it differ from encapsulation
What are the features of encapsulation ?
What do you mean by "explicitly implemeting an interface". Give an example?
Can an interface inherit from another interface?
Explain what an object is.
Can you create an instance of an interface?
Explain OOPS.
What is ‘this’ pointer?
What is the main use of message metaphor in object-oriented programming?
Can a function be overloaded based on return types?
What is the difference between a class and an object?
Explain the term constructor
Explain about the design phase?