Why java Don't Support Multiple interitence

Answer Posted / samir rana

java support multiple inheritance not through the use of
class, but through the implementation of interface we can
achieve multiple inheritance.

By using interface we can implement multiple interfaces for
a class which can solve the problem of our multiple inheritance.

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many inner classes can a class have?

800


Explain about the security aspect of java?

768


Are strings immutable in java?

733


Why does it take so much time to access an applet having swing components the first time?

1662


How to sort array of 0 and 1 in java?

737


When should you make a function static?

728


Hi all, I am dng a mini project on FileSplitter application which splits the GBs of logfile into Smaller chunks(mbs) depending on the split size." How to handle GBs file? I am getting OutOfMemoryException, when I input such GB sized file. Thx

1831


What is string in java? String is a data type?

765


Can singleton class be cloned?

798


What are decalarations?

848


Does java set allow duplicates?

774


How do we access static members in java?

837


What is a lambda expression ? What's its use ?

807


What is flush buffer?

750


What is downcasting?

793