Page 1 of 1

com.enthuware.ets.scjp.v6.2.31

Posted: Mon Apr 23, 2012 12:08 pm
by normc
(note: clicking on the 'discuss' button on question in subject field actually opened up :
com.enthuware.ets.scjp.v6.2.314
So I started this from scratch.

My Question:
Why does this (below) not result in compile error due to 'unreachable statement'?
Putting for( ;; ); before the try block will result in compile error. What's the diff? Thanks.

try {
for( ;; );
}finally { }