The nasty thing about Java syntax

in programming •  4 years ago 

The braces (I mean {}) are just semantically important. In other words, if you don't put them, it will not raise any error and the only thing which will be considered by the compiler inside the loop is the next expression after the loop/branch statement.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!