Difference: 'uses', 'extends', 'includes'

Answer Posted / sajad ali

Include usecase is shared can be resuse but extend class
relationship can't shared or reuse

Is This Answer Correct ?    9 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is polymorphism? When is it employed? give an example.

560


How to differentiate between a CreateObject() and GetObject() ?

558


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

556


How a program can be structured using the concept of object oriented programming?

551


What are the main features of oops?

587






How to make a class accessible as a web service?

526


What are the methods required to create changes in subclasses?

554


If a method definition has been specified in the base class and the interface which the class is implementing, which definition will be picked if we try to access it using interface reference and class object?

516


Can you instantiate an abstract class and what is an inner class?

550


Explain about the analysis phase?

563


Why are outlet connections required in object-oriented programming?

543


What is bootstrap, extension and system class loader?

490


What are different types of arguments?

633


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

660


What is virtual multiple inheritance?

555