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 data encapsulation and what's its significance?
Explain the use of Vtable and what are the various problems to override the functions?
Explain what is an object?
What is a friend function?
Can a function be overloaded based on return types?
Is it possible to create partial structs, interfaces and methods?
Explain the abstract class modifier?
What is bootstrap, extension and system class loader?
Can you use virtual, override or abstract keywords on an accessor of a static property?
What is the function of dynamic typing?
Can a class implement two interfaces having default method with same name and signature?
What is a pure virtual function?
What if we override the conflicting method in the class?
Explain what a method is?
What is meant by inheritance? what are the advantages of inheritance?