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

How to split arraylist elements in java?

846


Which variables are stored in stack?

666


What are features of java?

775


What is meant by overloading?

809


Can we use this () and super () in a method?

732


what is the role of xml in core java?? and how we can use it?? can somebody give a sample program with explanation and from where i can read more about xml?????

2018


What is the difference between static (class) method and instance method?

798


What do you understand by casting in java language?

805


In how many ways we can do exception handling in java?

787


What do you mean by of string::valueof expression in java 8?

752


Explain different states of a thread in java?

806


What do you mean by platform independence of Java?

756


What is listnode in java?

747


What do you mean by collectors in java 8?

723


Can I learn java in 3 months?

764