29. Select all the correct answers from the following?
[a] Default constructors takes no arguments.
[b] Constructors are defined with the name same name as class.
[c] A "void" is a valid return type for constructors.
[d] Default constructor is provided by the compiler, if no other constructors are defined.
Answer
[a] Default constructors takes no arguments.
[b] Constructors are defined with the name same name as class
[d] Default constructor is provided by the compiler , if no other constructors are defined. |