+ 1
System.out.printf, println, print
What is difference between System.out.printl System.out.print and System.out.printf?
2 odpowiedzi
+ 4
Just print will print line and dont move cursor for next, so next print will be on a same line. Println will move cursor for a next line. With print you can format your output:
https://stackoverflow.com/questions/14413020/how-to-use-formatting-with-printf-correctly-in-java
+ 1
Thanks :)