This question is from Whizlabs exam
The answer is "Does not compile" and the reason given is, System.out.println("End"); is not reachable. Now
This question does not have the declaration:
If the System.out.println("End"); were not there in the above code, can I say, it won't compile 'cos the MyException3 has not be declared, or would I have to imagine that the exception has been declared somewhere?
I mean, could they
test us on something like this?