What does the Java code Scanner keyboard = new Scanner(System.in); keyboard.useDelimiter(y); System.out.println(Enter a string.); String a =

Question:

What does the Java code

Scanner keyboard = new Scanner(System.in);
keyboard.useDelimiter("y");
System.out.println("Enter a string.");
String a = keyboard.next();
String b = keyboard.next();
System.out.println("a is" + a);
System.out.println("b is" + b);

display when the keyboard input is

By theprickingof my thumbs

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: