In Java how interface allows multiple inheritance? Please help with example. | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

In Java how interface allows multiple inheritance? Please help with example.

Multiple inheritance not allowed in java due to ambiguity. But how interface solves the problem

1st Nov 2017, 4:26 PM
beedisha das
beedisha das - avatar
1 Respuesta
+ 1
Use the keyword 'default', when you implement a method in an interface.
1st Nov 2017, 7:31 PM
1of3
1of3 - avatar