Skip to content

Mar 23: File/Input Output

Learning Objectives

After today’s class, you should be able to:

  • Parse user input and string objects using a Scanner.
  • Read a text file line by line, and extract data from it.
  • Create a new text file, and output several lines to it.

Lesson Outline

Info [5 min]

  • Welcome back! Review Calendar
  • Withdraw deadline: Friday 3/27

Act11 [45 min]

Tip

Please be ready when the activity begins! Ideally you are coming to class 5–10 minutes early to open VS Code, download the example code, and preview the instructions. This will help you use your time effectively and finish the activity during class.

Your To-Do List