Which among the following is true?
A. The constructors overloading can be done by using different names
B. The constructors overloading can be done by using different return types
C. The constructors can be overloaded by using only one argument
D. The constructors must have the same name as that of class
Answer:D
Which among the following is true?
A. The constructors overloading can be done by using different names B. The constructors overloading can be done by using different return types C. The constructors can be overloaded by using only one argument D. The constructors must have the same name as that of class