@@ -0,0 +1,770 @@
+import java.util.Scanner;%0A%0Apublic class HelloScannerIteration %7B%0A    public static void main(String... args) %7B%0A        System.out.println(%22Hello Scanner Iteration!%22);%0A%0A        String string01 = %22abc 123 def 456 ghi 789%22;%0A        String string02 = %22987 IGH 654 FED 321 CBA%22;%0A%0A        System.out.println(%22---%22);%0A        System.out.println(string01);%0A        System.out.println(%22---%22);%0A%0A        Scanner sc = new Scanner(string01);%0A%0A        sc.forEachRemaining(x -%3E %7B%0A            System.out.println(x);%0A        %7D);%0A        sc.close();%0A%0A        // ---%0A%0A        System.out.println(%22---%22);%0A        System.out.println(string02);%0A        System.out.println(%22---%22);%0A%0A        sc = new Scanner(string02);%0A        sc.forEachRemaining(System.out::println);%0A        sc.close();%0A    %7D%0A%7D%0A

Create HelloScannerIteration.java