How do I call a no-arg constructor?

The syntax to call a superclass constructor is as follows: Syntax: super() , or super(Parameter_list); The statement super() calls the no-argument constructor of its superclass and the super(argument) invokes the superclass constructor where the argument must match.

Sizin İçin Seçtik  Why does JPA need a no-arg constructor?

Leave a Reply

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