Respuesta :
An interface can extend another interface but not implement it. Java does not enable multiple inheritances for classes, so multiple inheritances can be accomplished by utilizing an interface.
What is meant by the interface?
An interface in computing is a shared boundary that allows two or more independent computer system components to communicate. Software, computer hardware, peripherals, people, and combinations of these can all be exchanged.
To accomplish complete abstraction, it is employed. Java does not enable multiple inheritances for classes, so multiple inheritances can be accomplished by utilizing an interface. In order to establish loose coupling, it is also used.
Java utilizes interfaces to achieve abstraction. A Java class can implement an interface by using the implements keyword. In general, an interface can be thought of as a repository for the method signatures that will be used to implement them in the code section. The degrees of abstraction is raised.
An interface can extend another interface but not implement it.
Therefore, the correct answer is an option (d) an interface is a solution for multiple inheritances in java.
To learn more about interface refer to:
https://brainly.com/question/28235695
#SPJ4