Why does java not support multiple inheritances? tccicomputercoaching.com

Page 1

Why does java not support multiple inheritances? tccicomputercoaching.com Java doesn't support multiple inheritances for classes but it supports multi-level inheritance for classes and multiple inheritances in interfaces. Let us we understand in detail why does java not support multiple inheritance?

class A { void show() { } } class B { void show() { } } class C extends A,B


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.