Does constructor overloading include different return types for constructors to be overloaded?
(a) Yes, if return types are different, signature becomes different
(b) Yes, because return types can differentiate two functions
(c) No, return type can’t differentiate two functions
(d) No, constructors doesn’t have any return type
I got this question by my school principal while I was bunking the class.
The query is from Overloading Constructors topic in portion Constructors and Destructors of Object Oriented Programming