int n = 123;
System.out.format("%4s\n", n); System.out.format("%-4s\n", n);
posted on 2013-03-30 18:23 Sure_Yi 阅读(187) 评论(0) 收藏 举报
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3