PIAT [Putting it all Together]: Simple Output
This lecture is a brief overview of printing output to the screen using three different types of printing. The first type is the println("..."), which we've already seen. The second type introduces printf -- or formatted printing, and the final type introduces the basic print statement. Most of our code will use either println or printf, but it is good to know about the print statement as well. Additionally, we take a quick look at using variables, by introducing the String type and setting a variable using Strings. We'll cover variables in more details in Section 2, so this brief introduction gives us a taste of what is to come.
1 comments