Does constructor overloading include different return types for

does-constructor-overloading-include-different-return-types-for

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

Correct choice is D. No, constructors doesn’t have any return type

To explain I would say: The constructors doesn’t have any return type. When we can’t have return type of a constructor, overloading based on the return type is not possible. Hence only parameters can be different.