Java tutorial
Java Strings
A String is text in double quotes. The + operator joins text, and methods such as length and toUpperCase describe or transform it.
In full Java, compare two strings with equals. The teaching runner also treats == as a value comparison so the short samples stay easy to read.
Edit the code and run it again. This runner stays in your browser and covers the syntax used in these lessons.
Output
Run the example to see output here.
What this code does
The program joins the two words with a space, prints the result, then prints how many characters it contains and the same text in uppercase.