What is argument constructor in Java?

A Constructor with arguments(or you can say parameters) is known as Parameterized constructor . As we discussed in the Java Constructor tutorial that a constructor is a special type of method that initializes the newly created object.

Sizin İçin Seçtik  How do you make a Main class?

Leave a Reply

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