Which type of multiple inheritance does Java support?
1.Multiple inheritance of both interfaces and classes
2.Multiple inheritance of both interfaces and abstract classes
3.Multiple inheritance of classes only
4.Multiple inheritance of interfaces only

Respuesta :

Answer:4)Multiple inheritance of interfaces only

Explanation:Java has the property of not supporting the multiple inheritance feature. It cannot support the multiple inheritance with the help of classes directly but with the help of interfaces,it is possible. The multiple inheritance with the help of classes may lead to the problem of overriding of the classes being inherited.

Therefore,the correct option is option(4)