Computer Applications
Name the feature of java depicted in the below picture.
- Encapsulation
- Inheritance
- Abstraction
- Polymorphism

OOP Intro Java
ICSE Sp 2024
156 Likes
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).
Answered By
77 Likes
Related Questions
The expression which uses >= operator is known as:
- relational
- logical
- arithmetic
- assignment
Ternary operator is a:
- logical operator
- arithmetic operator
- relational operator
- conditional operator
When primitive data type is converted to a corresponding object of its class, it is called:
- Boxing
- Unboxing
- explicit type conversion
- implicit type conversion
The number of bytes occupied by a character array of 10 elements.
- 20 bytes
- 60 bytes
- 40 bytes
- 120 bytes