0
formatted output
Hey guys, do you know how to output sth like this in Java: one two three. 1 2 3 I have used printf, tab, and all tools that I know but it has not worked the way I want.
1 Antwort
+ 1
another tip, if you want them left justified, you do this.
System.out.printf("%-3d %-3d %-3d",1,2,3);