Jak sprawdzić linie w skanerze pliku Java
int count = 0;
while (scanner.hasNextLine()) {
count++;
scanner.nextLine();
}
Magnificent Mockingbird
int count = 0;
while (scanner.hasNextLine()) {
count++;
scanner.nextLine();
}