+ 1

Multiple inheritance

why does java doesnt support Multiple Inheritance??

28th Dec 2016, 7:56 AM
Laxman Madipadige
Laxman Madipadige - avatar
1 Odpowiedź
0
It's like that from the begining. And like you maybe know java want to be backward compatible. So normally it's will never be possible. But on le last version of Java (1.8) they change the interface. And now the interface can declare some default function. So you can't really do "multiple inheritance" but you can simulate it with interface.
28th Dec 2016, 8:49 AM
Florian Castelain
Florian Castelain - avatar