Which of the following statements are true about constructors and methods?
A constructor has it's own name, a return type and is invoked using the new operator.
A function has it's own name, a return type and is invoked using the dot operator.
A constructor has the name of the class, no return type and is invoked using the new operator.
1 & 2
2 & 3
1, 2 & 3
None of the statements are true
A constructor has it's own name, a return type and is invoked using the new operator.
A function has it's own name, a return type and is invoked using the dot operator.
A constructor has the name of the class, no return type and is invoked using the new operator.
1 & 2
2 & 3
1, 2 & 3
None of the statements are true
Comment