The String constants we have been using since chapter 1 can
be stored in variables of type String. What output is
produced by the following code?
String first = "James";
String last = "Kirk";
String middle = "T."
System.out.println(last); // Kirk
System.out.println("My name is " + first); // My name is James
System.out.println(first + " " + last); // James Kirk
System.out.println(last + ", " + first + " " + middle); // Kirk, James T.
System.out.println(middle + " is for Tiberius"); // T. is for Tiberius