摘要: 一、方法后边都要有(),表示参数二、需要输入Int型的,判断输入是否为IntScanner scan = new Scanner(System.in);if(scan.hasNextInt){ int a = scan.nextInt();}else{ System.out.println("输入无... 阅读全文
posted @ 2016-01-20 23:05 远秋 阅读(240) 评论(0) 推荐(0) 编辑