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
Why are virtual users created?
What is virtual multiple inheritance?
What is the difference between new and override?
What is super keyword?
Can we override static methods? Why?
Can we override static methods of a class?
How can we call the base method without creating an instance?
Differentiate between a class and a method.
Write basic concepts of oops?
What is a subclass?
What is bootstrap, extension and system class loader?
Explain about message passing in object oriented programming?
What is operator overloading?
Describe the Diamond problem. Where does this problem occur?
How do I make sure that an object is released in code such as a connection or file object?