The Wanderer,
Welcome to Javaranch
We'd like you to read the
Javaranch Naming Policy and change your
publicly displayed name (
change it here) to comply with our unique rule. Thank you.
With regards to your question, a semi-colon all by itself is just a null statement. It doesn't do anything, but it's legal. Therefore, in general, you can have semicolons hanging out just about anywhere and it's legal. It doesn't do anything, but it's legal as long as it doesn't interfere with some other logic construct.