@@ -0,0 +1,2012 @@
+import java.math.BigDecimal;%0Aimport java.math.BigInteger;%0Aimport java.util.Scanner;%0A%0Apublic class HelloScannerDataTypes %7B%0A    public static void main(String... args) %7B%0A        System.out.println(%22Hello Scanner Data Types!%22);%0A%0A        String string = %22Scanner %22 + BigDecimal.TEN.toPlainString() + %22 %22 %0A            + BigInteger.TWO.toString() + %22 %22%0A            + Boolean.TRUE.toString() + %22 %22 %0A            + Byte.toString(Byte.MAX_VALUE) + %22 %22%0A            + Double.toString(Double.MAX_VALUE) + %22 %22 %0A            + Float.toString(Float.MAX_VALUE) + %22 %22%0A            + Integer.toString(Integer.MAX_VALUE) + %22 %22 %0A            + Long.toString(Long.MAX_VALUE) + %22 %22%0A            + Short.toString(Short.MAX_VALUE);%0A        // Scanner 10 2 true 127 1.7976931348623157E308 3.4028235E38 2147483647%0A        // 9223372036854775807 32767%0A        System.out.printf(%22string = %3C%25s%3E%5Cn%22, string);%0A%0A        Scanner sc = new Scanner(string);%0A        String st01     = sc.next();%0A        BigDecimal bd01 = sc.nextBigDecimal();%0A        BigInteger bi01 = sc.nextBigInteger();%0A        boolean bo01    = sc.nextBoolean();%0A        byte by01       = sc.nextByte();%0A        double db01     = sc.nextDouble();%0A        float fl01      = sc.nextFloat();%0A        int in01        = sc.nextInt();%0A        long lo01       = sc.nextLong();%0A        short sh01      = sc.nextShort();%0A        sc.close();%0A%0A        System.out.printf(%22sc.next();           = %3C%25s%3E%5Cn%22, st01);%0A        System.out.printf(%22sc.nextBigDecimal(); = %25s%5Cn%22, bd01);%0A        System.out.printf(%22sc.nextBigInteger(); = %25s%5Cn%22, bi01);%0A        System.out.printf(%22sc.nextBoolean();    = %25s%5Cn%22, bo01);%0A        System.out.printf(%22sc.nextByte();       = %25s%5Cn%22, by01);%0A        System.out.printf(%22sc.nextDouble();     = %25s%5Cn%22, db01);%0A        System.out.printf(%22sc.nextFloat();      = %25s%5Cn%22, fl01);%0A        System.out.printf(%22sc.nextInt();        = %25s%5Cn%22, in01);%0A        System.out.printf(%22sc.nextLong();       = %25s%5Cn%22, lo01);%0A        System.out.printf(%22sc.nextShort();      = %25s%5Cn%22, sh01);%0A    %7D%0A%7D%0A

Create HelloScannerDataTypes.java