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

Answer Posted / hell boy

includes is mandatory
extends is optional
uses is for help

Is This Answer Correct ?    17 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the abstract method modifier?

587


Is it possible to provide method implementations in java interfaces? If possible, how do we provide them?

520


Can a function be overloaded based on return types?

536


Why is message passing between the objects important?

564


What is the difference between an interface and abstract class?

576






What interface must an object implement before it can be written to a stream as an object?

609


What is the practical implementation of inner classes?

523


What is the difference between class inheritance and interface inheritance?

577


What is bootstrap, extension and system class loader? Or can you explain primordial class loader?

500


What is the @functionalinterface annotation?

538


Explain what is an object?

570


What do you mean by "explicitly implemeting an interface". Give an example?

563


What are the major differences between late and dynamic binding?

490


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

571


Differentiate between data abstraction and encapsulation.

514