I thought bad thing would happen when I ended a line like this. But compiler didn\'t even complain. Does anybody have an idea, why this is legal in java.
displ
It's an empty statement, it's the same as if you did this:
int x = 0; ;
No problems there!