What is the different type of constructor?

There are two types of constructors in Java: Default constructor (no-arg constructor) Parameterized constructor .

Sizin İçin Seçtik  What is a constructor with no argument?

Leave a Reply

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