登 录
java中有三种格式化输出的方式:
1、System.out.format()
2、String.format()
3、Formatter类
格式化样式:%[argument_index$][flags][width][.precision]conversion
抱歉!评论已关闭.