how to implement more than one interface in java code example
Example: why we can implement more than one interface in java
A class can implement any number of interfaces.
In this case there is no ambiguity even
though both the interfaces are having same method.
Because methods in an interface are always
abstract by default, which doesn’t let them
give their implementation
in interface itself.