001类似序号生成

for(int i=1;i<200;i++) {
System.out.println(String.format("%03d", i));
}

输出结果:

001
002
...
198
199
posted @ 2018-09-18 14:31  马又虫  阅读(250)  评论(0)    收藏  举报