Java End-of-file

  • + 1 comment

    It's equivalent to this code:

    String line = scan.nextLine();
    System.out.println(i + " " + line);