print will not wrap after this output, and println will wrap after this output.
You can see that println is equivalent to the effect of print plus a newline.
As shown in the figure below, you can see the difference between the two used in the 99 multiplication table: