Which Is A Good Alternative Instead Of Having One Zero Argument #120
Which is a good alternative instead of having one zero argument constructor and one single argument constructor with default argument?
This multiple choice question (MCQ) is related to the book/course gs gs111 OOP Object Oriented Programming Java. It can also be found in gs gs111 Constructors and Destructors - OOPs MCQ: Constructors - Quiz No.2.
Which is a good alternative instead of having one zero argument constructor and one single argument constructor with default argument?
No constructor defined
One default value constructor
Defining the default constructor
Using one constructor with two arguments