InterviewSolution
Saved Bookmarks
| 1. |
Can we implement multiple interfaces in a single Java class? |
|
Answer» Yes, it is allowed to implement multiple interfaces in a single class. In Java, multiple INHERITANCES is achieved by implementing multiple interfaces into the class. While implementing, each interface NAME is separated by using a comma(,) operator. Here, X and Y are the interfaces implemented by the class InterviewBit. |
|