Mar 02: Bob’s Grocery Mart
Learning Objectives
After today’s class, you should be able to:
- Write a class that includes getters/setters and throws exceptions.
- Create an ArrayList, add/remove elements, and loop over elements.
- Run JUnit tests for a discrete event simulation with random events.
Lesson Outline
Debrief [5 min]
- HW 4 solution on Canvas Files
- Review act/lab solutions too
Tip
Download (right-click, save link as) this new Formatter.xml file into your .vscode folder.
We made a few changes to make the configuration more consistent with Checkstyle.
Lab08 [45 min]
- Lab 8: Bob’s Grocery Mart
- Demo of getters and setters