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.
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.