In order to see something happen, we need to be able to print to the screen.
There is a
System class that is automatically available when your program runs (everything in it is
stderr(standard output, standard input, and standard error).
System.out is a
static reference to the standard output stream.
As an object,
System.out contains a
that accepts a
String object, and prints that text to the
screen, ending with a newline (linefeed).
print(String)method that does not place a newline at the end.
You can print a
String directly, or you can build one from pieces.
Stringwill automatically be created from a quote-delimited series of characters.
Stringby using the
+sign; if one item is a
Stringor quote-delimited series of characters, then the rest can be any other type of data.