Aspire's Library

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations - NIMCET

Previous Year Question (PYQs)



Multiple Inheritance is permitted directly in:


A. C++

B. Java

C. Python

D. VB.NET

E. BASIC






Solution

C++ → supports multiple inheritance directly ✔

• Java → does not support multiple inheritance with classes (only interfaces) ✘

• Python → supports multiple inheritance ✔

• VB.NET → supports multiple inheritance through interfaces only ✘

• BASIC → does not support multiple inheritance ✘


Thus the languages that directly support multiple inheritance are:


C++ and Python



Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Ask Your Question or Put Your Review.

loading...