@@ -0,0 +1,659 @@
+import java.util.Scanner;%0A%0A/**%0A * A Java Scanner class example from http://alvinalexander.com%0A */%0Apublic class JavaScannerExample%0A%7B%0A%0A  public static void main (String%5B%5D args)%0A  %7B%0A    // create a scanner so we can read the command-line input%0A    Scanner scanner = new Scanner(System.in);%0A%0A    //  prompt for the user's name%0A    System.out.print(%22Enter your name: %22);%0A%0A    // get their input as a String%0A    String username = scanner.next();%0A%0A    // prompt for their age%0A    System.out.print(%22Enter your age: %22);%0A%0A    // get the age as an int%0A    int age = scanner.nextInt();%0A%0A    System.out.println(String.format(%22%25s, your age is %25d%22, username, age));%0A%0A  %7D%0A%0A%7D%0A

Create JavaScannerExample.java