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


Please Help Members By Posting Answers For Below Questions

Can we access interface static method using interface references?

513


Explain about overriding polymorphism?

575


What is a default method? Why do we need default methods in java 8 interfaces?

550


What is the need of multiple inheritance?

566


What is overriding?

598






Can you give some examples of tokens?

633


What is difference between encapsulation and abstraction?

562


What do you mean by operator overloading?

604


What is data encapsulation and what is its significance?

496


What is bootstrap, extension and system class loader?

483


What is the purpose of late binding in object-oriented programming?

552


What is an abstraction and why is it important?

565


explain the difference between operator overloading and function overloading.

560


Differentiate between a class and a method.

567


Which oops concept exposes only necessary information to the calling functions?

553