If the constructors are overloaded by using the default arguments, which problem may arise?
(a) The constructors might have all the same arguments except the default arguments
(b) The constructors might have same return type
(c) The constructors might have same number of arguments
(d) The constructors can’t be overloaded with respect to default arguments
I have been asked this question in an interview for job.
My enquiry is from Constructors Overloading in portion Default Arguments vs Overloading, Upcasting and Downcasting of Object Oriented Programming