

MCQOPTIONS
Saved Bookmarks
1. |
WHAT_WOULD_BE_BEHAVIOUR_IF_THE_CONSTRUCTOR_HAS_A_RETURN_TYPE??$ |
A. | Compilation error |
B. | Runtime error |
C. | Compilation and runs successfully |
D. | Only String return type is allowed |
Answer» B. Runtime error | |