A String is a data type that feels a lot like a primitive data type like int, byte, float or boolean, but is in fact a class. It has methods that can manipulate the text and return information about the text. Because it is so fundamental to the programming language, you don't have to construct it in the normal way (String text = new String("hello!");). you can just type String text = "hello!"; Either way is fine. This demo does not produce any graphics. Run the source code in Processing and look at the console. Try to figure out why the console is displaying the resulting text.
Source code: week5_strings_demo