Which of the following is tightly bound ? Inheritance or composition ?



Which of the following is tightly bound ? Inheritance or composition ?..

Answer / 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

More OOAD Interview Questions

Explain serialization and overriding?

0 Answers   Motorola,


What is the difference between multiple and multilevel inheritance?

0 Answers  


Explain what a method is?

0 Answers  


A class inherits from 2 interfaces and both the interfaces have the same method name as shown below. How should the class implement the drive method for both car and bus interface?

0 Answers  


How can we restrict inheritance for a class so that no class can be inherited from it?

0 Answers  






Explain the concept of multiple inheritance (virtual inheritance). Write about its advantages and disadvantages?

0 Answers  


What is the use of ‘finalize’?

0 Answers  


How does abstraction differ from encapsulation.

0 Answers  


Explain about polymorphism?

0 Answers  


Comment: C++ "includes" behavior and java "imports"

1 Answers  


What are a base class, subclass, and superclass?

0 Answers  


Differentiate between Aggregation and containment?

3 Answers  


Categories