public static void main(String[] args) { String telno1 = "12321931221"; for (int i = 0; i <= 3; i++) { int tel = Integer.parseInt(telno1.trim()); tel = tel + 1; String telno = Integer.toString(tel); System.out.println(telno); i++; }
添加回答
举报
0/150
提交
取消