why is multiple inheritance not allowed in java?

Answer Posted / sikinder

Whenever one Sub Class Extends more than one classes, at
the time of creating that class object, JVM gets confused
to call the parent class constructor as well as methods.

To avoid this ambuiguity, java doesn't support multiple
inheritance

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is jar?

880


What is a local class in java?

822


How many types of voids are there?

767


What is considered an anti pattern?

728


Wha is the output from system.out.println(“hello”+null); ?

917


How do you create a sop?

758


What are packages in java?

968


Why do we need array in java?

772


How can you make a class serializable in java?

788


How do you square a number?

902


Why are there no global variables in java?

823


What is string manipulation?

728


What is garbage collection? What is the process that is responsible for doing that in java?

889


Why string is not thread safe?

783


please send me hr interview questions in it industry

1913