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]
- Activity 11: File/Input Output
- Open the example code
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.