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
Explain the rationale behind object oriented concepts?
What is bootstrap, extension and system class loader?
What are the types of polymorphism?
What is the practical implementation of inner classes?
What is a static method? Why do we need static methods in java 8 interfaces?
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?
Define Destructor?
Explain the usage of encapsulation?
Can we use static method definitions in interfaces?
What are base class, sub class and super class?
Why do we use oops concepts? What is its advantage?
Do we require a parameter for constructors?
Write about abstract base classes?
What is the difference between an interface and abstract class?
Differentiate between overloading and overriding.