What is no-arg constructor?

No-Arg Constructor – a constructor that does not accept any arguments . Parameterized constructor – a constructor that accepts arguments. Default Constructor – a constructor that is automatically created by the Java compiler if it is not explicitly defined.

Sizin İçin Seçtik  MaxiPuan nerede harcanır?

Leave a Reply

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