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

Multiple inheritance is accessed in ____________.

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

The correct option is D JAVA

Multiple inheritance is accessed in java.

Multiple inheritance is a feature of object oriented concept, where a class can inherit properties of more than one parent class. The problem occurs when there exist methods with same signature in both the super classes and subclass.

The Java programming language supports multiple inheritance of type, which is the ability of a class to implement more than one interface. As with multiple inheritance of implementation, a class can inherit different implementations of a method defined (as default or static) in the interfaces that it extends.


flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Database Structuring
ACCOUNTANCY
Watch in App
Join BYJU'S Learning Program
CrossIcon