TYPES OF CONSTRUCTORS????
Answers
Answered by
9
Hola❤️
There are two type of constructor in Java:
No-argument constructor: A constructor that has no parameter is known as default constructor.
Parameterized Constructor: A constructor that has parameters is known as parameterized constructor.
Answered by
4
Explanation:
There are two type of constructor in Java:
No-argument constructor: A constructor that has no parameter is known as default constructor. ...
Parameterized Constructor: A constructor that has parameters is known as parameterized constructor.
stay safe!!!
be happy!!!
take care!!!
Similar questions