Why java Don't Support Multiple interitence

Answer Posted / srinu

Java Does not support Multiple inhertiance through class
because ambiguity between variables of different classes
and to rudece memory overloading.and another reason java
extended only one class at time

java support Multiple inhertiance through interfaces.because
java class implements any number of interface at time

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What exactly is a .class file?

571


Why webdriver is an interface?

574


What is parseint?

527


What is the difference between math floor and math round?

498


I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?

569






which one is more efficient int x; 1. if(x==null) 2.if(null==x) state which one either 1 or 2?

9184


Can we sort arraylist in java?

557


Why Java doesn’t support multiple inheritance?

629


What are the topics in advance java?

506


Can finally block be used without a catch?

540


Which class contains a method: cloneable or object?

533


Can we write a class without main method in java?

480


Why scanner is used in java?

544


Why do we use regex?

553


Is there a way to increase the size of an array after its declaration?

598