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
What is the abstract method modifier?
Is it possible to provide method implementations in java interfaces? If possible, how do we provide them?
Can a function be overloaded based on return types?
Why is message passing between the objects important?
What is the difference between an interface and abstract class?
What interface must an object implement before it can be written to a stream as an object?
What is the practical implementation of inner classes?
What is the difference between class inheritance and interface inheritance?
What is bootstrap, extension and system class loader? Or can you explain primordial class loader?
What is the @functionalinterface annotation?
Explain what is an object?
What do you mean by "explicitly implemeting an interface". Give an example?
What are the major differences between late and dynamic binding?
Explain the concept of multiple inheritance (virtual inheritance). Write about its advantages and disadvantages?
Differentiate between data abstraction and encapsulation.