A股上市公司传智教育(股票代码 003032)旗下技术交流社区北京昌平校区

1,写两个
                        Scanner sc = new Scanner(System.in);
2,都写成
                        String nextLine1 = sc.nextLine()
                        String nextLine2 = sc.nextLine()
                        用两个nextLine去接收。
您需要登录后才可以回帖 登录 | 加入黑马