Lab 2: Console I/O & Command Line Arguments

In this lab, you will learn the basics of console I/O, command line arguments, and how to work from home.

In this lab you will:

  1. Learn how Java reads from and writes to the console
  2. Write a simple program that uses console I/O
  3. Learn how to compile from the command line
  4. Learn about command line arguments
  5. Learn how to redirect file input (optional)