Q119
What would be behaviour if the constructor has a return type?
A.
Compilation error
AnswerB.
Runtime error
C.
Compilation and runs successfully
D.
Only String return type is allowed
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board