Hi,
The following code doesn't compile saying the code is unreachable-
But following code (from K and B , page 343) does compile, even though the line - ' System.out.println("outer");' is never going to print , then why doesn't compiler treats it as unrechable code? :roll:
I am confused.
Please somebody give me tips on how to determine if a given line of code is unreachable and when will the program fail to compile?
I am planning to give my
scjp exam on thursday!
[ January 07, 2008: Message edited by: prajal Mehta ]