In this lesson, our instructor Tom Quayle goes through an introduction to input, output and errors. He starts by discussing getting input from and providing output to the user. He then goes on to talk about escape sequences and exception handling.
The Scanner class provides a convenient way to get user input
Use System.out.print and System.out.println to produce text output
There are three escape sequences you need to know:
(newline character), \”
(double quote character), and \ (backslash character)
Exceptions provide a way of gracefully dealing with unexpected conditions
There are six types of exceptions you need to know about
Input, Output, & Errors
Lecture Slides are screen-captured images of important points in the lecture. Students can download and print out these lecture slide images to do practice problems as well as take notes while watching the lecture.