Not. When compiling a program, the Java compiler does not consider lines, intervals, or other formatting problems. He just wants to see ;
at the end of each statement . This line will work fine:
int i = 13; i += 23;
However, the implementation of such actions can, and most likely, cause problems with the readability of the source code. For this reason, this is not recommended.
It is also possible for a single statement to span multiple lines:
int i = 13;
source share