Computer Applications
When many sub classes are inherited from a single base class, it is known as …………… .
- Hierarchical inheritance
- Multiple inheritance
- Single inheritance
- Multilevel inheritance
Encapsulation & Inheritance in Java
1 Like
Answer
Hierarchical inheritance
Reason — When many sub classes are inherited from a single base class, it is known as Hierarchical inheritance.
Answered By
3 Likes
Related Questions
…………… is the feature by means of which one class acquires the properties of another class.
- Abstraction
- Inheritance
- Encapsulation
- Polymorphism
The class that gets inherited is known as …………… .
- Parent class
- Base class
- Super class
- All of these
How does a class encapsulate state and behaviour?
Name the access specifiers available in Java.