Scanner--键盘录入类 Scanner sc = new Scanner(System.in) 接受数据:sc.next(); 待后续学习更新 转载于:https://www.cnblogs.com/dajingshao/p/11559935.html