Hi,
I was solving some random questions for
SCJP online.
I can across this code and had no idea what is the output.
Following are the options:
A. end
B. Compilation fails.
C. exception end
D. exception
test end
E. A Throwable is thrown by main.
F. An Exception is thrown by main.
What is the output of the above code?
In the above line of code, under what condition will if be true and when will it be false?
Please give your opinions.
Thanks
Regards,
Badal