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 is the difference between function overloading and over riding?
State about java and its relation to object oriented programming?
What is the difference between public, private and protected access modifiers?
Can we access interface static method using interface references?
What is the base type from which all structs inherit directly?
What is the use of destructive method?
What is operator overloading?
What is hybrid inheritance?
What is constructor and virtual function? Can we call virtual funciton in a constructor?
How can I be thrown polymorphically?
What is a try/ catch block?
Differentiate between a class and a method.
What is Overloading ? Is it similar to overriding ?
What are virtual functions, base class pointer, derived class pointer, biding references?
What is bootstrap, extension and system class loader?