CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
5
You visited us 5 times! Enjoying our articles? Unlock Full Access!
Question

A type of inheritance that permits a class to have more than one super class and to inherit features from all ancestors.

A
Inheritance
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
Multiple inheritance
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
Sub classes
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
Super classes
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is A Multiple inheritance

Multiple inheritance that permits a class to have more than one super class and to inherit features from all ancestors.

Inheritance is the mechanism of basing an object or class upon another object or class (class based inheritance), retaining similar implementation.

Multiple inheritance is a feature of some object-oriented computer programming languages in which an object or class can inherit characteristics and features from more than one parent object or parent class.

multiple inheritance allows a child class to inherit from more than one parent class.



927424_917056_ans_8e86311ead784bba975c4ea68ef6f7d3.PNG

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Laws of Mendel
BIOLOGY
Watch in App
Join BYJU'S Learning Program
CrossIcon