Which is a good alternative instead of having one zero argument constructor and one single argument constructor with default argument?
A. No constructor defined
B. One default value constructor
C. Defining the default constructor
D. Using one constructor with two arguments
Answer:B
Which is a good alternative instead of having one zero argument constructor and one single argument constructor with default argument?
A. No constructor defined B. One default value constructor C. Defining the default constructor D. Using one constructor with two arguments