import java.util.Scanner;

public class HelloScannerSimplest {
    public static void main(String... args) {
        System.out.println("Hello Scanner Simplest!");

        Scanner sc = new Scanner("Scanner 1 2.0 true");
        String st01  = sc.next();
        int in01     = sc.nextInt();
        double db01  = sc.nextDouble();
        boolean bo01 = sc.nextBoolean();
        sc.close();

        System.out.printf("sc.next(); = <%s>\n", st01);
        System.out.printf("sc.nextInt(); = %s\n", in01);
        System.out.printf("sc.nextDouble(); = %s\n", db01);
        System.out.printf("sc.nextBoolean(); = %s\n", bo01);
    }
}

@@ -171,52 +171,93 @@
    S
-canner sc = new Scanner(%22Scanner 1 2.0 true%22
+tring string = %22Scanner 1 2.0 true%22;%0A        %0A        Scanner sc = new Scanner(string
 );%0A 
@@ -424,24 +424,130 @@
 c.close();%0A%0A
+        System.out.println(%22---%22);%0A        System.out.println(string);%0A        System.out.println(%22---%22);%0A
         Syst

Update HelloScannerSimplest.java