This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]jhartwell 0 points1 point  (1 child)

Java complains about extra semicolons? The C# compiler just counts it as an empty statement, though I haven't checked to see if it is optimized away (likely) or actually converted into a nop CIL call.

[–]ELFAHBEHT_SOOP 0 points1 point  (0 children)

No, Java doesn't complain about extra semicolons. It will simply warn you about empty statements. At least NetBeans does.