Can we implement two interfaces?

Yes, it is possible . This is the catch: java does not support multiple inheritance, i.e. class cannot extend more than one class. However class can implement multiple interfaces.

Sizin İçin Seçtik  How interface is implemented in Java with example?

Leave a Reply

Your email address will not be published. Required fields are marked *