file dan streaming java

 while (scanner.hasNextInt()) {
            int number = scanner.nextInt();
AD L