printf:\ n和%n之间的差异

时间:2014-04-13 11:53:41

标签: java

使用Java String.formatSystem.out.printf\n%n都会提供换行符。我应该使用哪一种?在哪种情况下?

0 个答案:

没有答案
相关问题