Can we achieve multiple inheritance?

The only way to implement multiple inheritance is to implement multiple interfaces in a class . In java, one class can implements two or more interfaces. This also does not cause any ambiguity because all methods declared in interfaces are implemented in class.

Sizin İçin Seçtik  Kola ilk neden üretildi?

Leave a Reply

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