ContactUs :

Please send your Questions & Answers or Feedback to ""

Why Java doesn’t support multiple inheritance?

Java doesn’t support multiple inheritance in classes because of “Diamond Problem”.

However multiple inheritance is supported in interfaces. An interface can extend multiple interfaces because they just declare the methods and implementation will be present in the implementing class. So there is no issue of diamond problem with interfaces.

Related Posts Plugin for WordPress, Blogger...
Flag Counter