asked in Inheritance by (58.6k points)

1 Answer

Yes, A class can implement more than one interface in Java e.g. A class can be both Comparable and Serializable at the same time. This is why the interface should be the best use for defining Type as described in Effective Java. This feature allows one class to play a polymorphic role in the program.
answered by (58.6k points)

Java Interview Questions and Answers 2018