Strings
We’ve been using strings in many of our examples, but we haven’t fully explored what we can do with
them. First of all, String is a class defined by Java – we haven’t talked about classes yet, but
we will later one. The Java String class uses a character array to store the individual
characters in the string, and then defines several commands that let us do things with that array.