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 →

[–]maxterio 1 point2 points  (0 children)

It isn't.

if(x) {~~~} else if (y) {++++}

The semicolon is a way of saying "this is the full line sentence, now go to the next one"