Why does a Java class compile differently with a blank line?

Basically, line numbers are kept for debugging, so if you change your source code the way you did, your method starts at a different line and the compiled class reflects the difference.

Leave a Comment