What Extends do in Java?

Extends: In Java, the extends keyword is used to indicate that the class which is being defined is derived from the base class using inheritance. So basically, extends keyword is used to extend the functionality of the parent class to the subclass .

Sizin İçin Seçtik  What are Mana coins?

Leave a Reply

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