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  What happens when you extend an abstract class?

Leave a Reply

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