Computer Applications
Name the feature of Java depicted in the below picture.

- Encapsulation
- Inheritance
- Abstraction
- Polymorphism
Answer
Inheritance
Reason — The given picture shows the relationship of a parent (father) and child. Just like a child inherits some characteristics from his parents, inheritance enables new classes (derived class) to receive or inherit the properties and methods of existing classes (base class).
Related Questions
In object oriented programming, the emphasis is laid on:
- procedure
- methods
- class
- data
Which of the following principle does not allow to access directly from outside the class premises?
- data hiding
- encapsulation
- abstraction
- all of the these
The process of combining data and functions that enables them to be together as a single entity is called
- inheritance
- encapsulation
- classification
- attributes
The process by which a class acquires the properties from another class is called:
- polymorphism
- inheritance
- abstraction
- object