Answers for "java extends multiple interfaces"

1

Java Multiple Interfaces

/Extending Multiple Interfaces
A Java class can only extend one parent class. Multiple inheritance is not allowed. Interfaces are not classes, however, and an interface can extend more than one parent interface.

The extends keyword is used once, and the parent interfaces are declared in a comma-separated list.

Example
public interface Hockey extends Sports, Event
Posted by: Guest on August-31-2021

Code answers related to "java extends multiple interfaces"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language