What is the point of super ()?

super() is used to call the immediate parent . super() can be used with instance members, i.e., instance variables and instance methods. super() can be used within a constructor to call the constructor of the parent class.

Sizin İçin Seçtik  What is a class in Java and type?

Leave a Reply

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