Title: PrintStream Scanner Examples - Basics
Course: CPS 261: Advanced Java Concepts ~ DL & MM MASTER > Section: Learning Units - Bb

Presentations and Videos

- PrintStream Scanner Examples - Basics lecture video (Time: 00:00)
- PrintStream Scanner Examples - Basics - document

- System.out is a PrintStream , System.in is an InputStream ... Now we will look at output to Files.
- We should be using the Scanner class methods hasNextLine and hasNext when we call nextLine, and next.
- Comparing reading a file with reading from the keyboard