Lecture Outline
- while loops repeat as long as a condition is true. It is very possible to get infinate loops with a while loop
- We can read in from a file using the FileReader and Scanner libraries
- .split() takes in a string, a parses it into a String array, and splits on a certain delimiter (","," ",".", etc)
- When using a file, we must wrap its code inside of a try/catch
Lecture Recording
Lecture Slides
Code