控制台输出

System.out.print() 打印输出不换行
System.out.println() 打印输出换行
System.out.printf() 格式化输出,类似于前面的String.format(format,"strfhfs")中的format

posted @ 2018-09-03 00:22  JccVirtual  阅读(90)  评论(0编辑  收藏  举报