He has not defined any default constructor. And then he try to create the object without passing arguments, which among the following will be correct?
A. It will not create the object (as parameterized constructor is used)
B. It will create the object (as the default arguments are passed)
C. It will not create the object (as the default constructor is not defined)
D. It will create the object (as at least some constructor is defined)
Answer:B
He has not defined any default constructor. And then he try to create the object without passing arguments, which among the following will be correct?
A. It will not create the object (as parameterized constructor is used) B. It will create the object (as the default arguments are passed) C. It will not create the object (as the default constructor is not defined) D. It will create the object (as at least some constructor is defined)