Computer Science, asked by gangaanju468, 5 months ago

Can a class in Java implement more than one interfaces, if yes what is the syntax used?​

Answers

Answered by mail7raven
1

Answer:

A Java class can only extend one parent class. Multiple inheritance ( extends ) is not allowed. Interfaces are not classes, however, and a class can implement more than one interface. The parent interfaces are declared in a comma-separated list, after the implements keyword.

I hope it is helpful!

Similar questions