Answer Posted / glibwaresoftsolutions
In Java, inheritance refers to the idea that a class's properties can be passed down to another class. It facilitates code reuse and builds connections between various classes.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is @functionalinterface annotation mandatory to define a functional interface? What is the use of @functionalinterface annotation? Why do we need functional interfaces in java?
What do you mean by abstract classes?
Which oops concept is used as reuse mechanism?
What are a base class, subclass, and superclass?
Explain the meaning of object in object oriented programming?
Define Destructor?
What does the “abstract” keyword mean in front of a method? A class?
What is a default method? Why do we need default methods in java 8 interfaces?
What is a static method? Why do we need static methods in java 8 interfaces?
What is a constructor in class?
Explain the purpose of composition.
What is the difference between a class and an object?
What are sealed modifiers?
Write about abstract base classes?
Define exceptions?