@@ -0,0 +1,871 @@
+import java.util.Scanner;%0A%0Apublic class HelloScannerNextLine %7B%0A    /**%0A     * Poem by Leigh Hunt.%0A     */%0A    public static void main(String... args) %7B%0A        System.out.println(%22Hello Scanner Next Line!%22);%0A%0A        String string = %0A              %22    Jenny kiss'd me when we met,%5Cn%22 %0A            + %22    Jumping from the chair she sat in;%5Cn%22%0A            + %22    Time, you thief, who love to get%5Cn%22 %0A            + %22    Sweets into your list, put that in!%5Cn%22%0A            + %22    Say I'm weary, say I'm sad,%5Cn%22 %0A            + %22    Say that health and wealth have missed me,%5Cn%22%0A            + %22    Say I'm growing old, but add%5Cn%22 %0A            + %22    Jenny kiss'd me.%22;%0A%0A        System.out.println(%22---%22);%0A%0A        try (Scanner sc = new Scanner(string)) %7B%0A            while (sc.hasNextLine()) %7B%0A                System.out.println(sc.nextLine());%0A            %7D%0A        %7D%0A    %7D%0A%7D%0A

Create HelloScannerNextLine.java