Files & I/O
- sumFile 4.6 Given a File containing one integer per line, construct your own Scanner over it and retu…
- populateArrayFromFile 4.6 🌶️🌶️ A file's first line is an integer n, the number of values that follow after it. Each int …
- populateListFromFile 4.6 🌶️🌶️ Write a method that takes a File, constructs a Scanner over it, and returns an ArrayList<…
- fileContainsValue 4.6 🌶️🌶️ Write a method that takes a File (one int per line) and a target int, constructs a Scanne…
- countWords 4.6 Extra Given an open BufferedReader over a text file, return the total number of whitespace-sepa…