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
Answer:D
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