I have following code :
System.out.println(" | 1 2 3 4 5 6 7 8 9");
System.out.println("----------------------------");
System.out.println("");
I use println to create a new line. Is it possible to do the same using
or
?
I tried to add
to the second println statment and continue printing with the print method but
does not create a new line.
any ideas?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…