Why does finally have to have braces? I can do this: if(condition) statement; and even this: if(condition) statement; else statements And yet I cannot do this: try { statement; } finally statement; I am forced to do this: try { statement; } finally { statement; } Why Java why? I see why Rubyist’s complain of too many braces PS. Does that mean I am getting tired of Java? No. I [...]
Why does finally have to have braces? I can do this: if(condition) statement; and even this:
if(condition) statement; else statements And yet I cannot do this: try { statement; } finally statement; I am forced to do this: try { statement; } finally { statement; } Why Java why? I see why Rubyist’s complain of too many braces PS. Does that mean I am getting tired of Java? No. I [...]
Please fill in the following fields
* - Required
Your Name: *
Your E-Mail: *
Your Remarks:
Friend's Name: *
Friend's E-Mail: *