@@ -0,0 +1,387 @@
+package javaEndOfFile;%0A%0Aimport java.util.Scanner;%0A%0Apublic class Solution %7B%0A%0A    public static void main(String%5B%5D args) %7B%0A        Scanner scanner = new Scanner(System.in);%0A        int iterationNumber = 1;%0A        while(scanner.hasNext()) %7B%0A        %09String line = scanner.nextLine();%0A        %09System.out.println((iterationNumber++) + %22 %22 + line);%0A        %7D%0A        scanner.close();%0A    %7D%0A%7D

Add solution for problem Java End-of-file, HackerRank/Java/Introduction/Java End-of-file