键盘录入方法input();
*/
public static int input()
{
Scanner sc = new Scanner(System.in);
System.out.println("请输入需要添加的数字元素:");
int i = sc.nextInt();
return i;
}
gc278161209 发表于 2015-4-24 21:57
好长啊 !!!!!!
欢迎光临 黑马程序员技术交流社区 (http://bbs.itheima.com/) | 黑马程序员IT技术论坛 X3.2 |