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


Discussion

No Comment Found