🌈 搜索
📅  最后修改于: 2022-03-11 14:52:05.883000             🧑  作者: Mango
int count = 0; while (scanner.hasNextLine()) { count++; scanner.nextLine(); }