Duration: 16:12 minutes
Summary: In this video, we continue our discussion of the sample exam. We start with important facts about the Scanner class: default delimiter is the whitespace, hasNext() method does not cause the Scanner to advance through the data to be scanned. nextInt() method does cause the Scanner to advance through the data to be scanned. Then, we cover multi-dimensional arrays, and we see multiple options for correct and incorrect assignments. We also look at the methods in the TreeSet class higher() and ceiling(). higher() for strictly greater than, and ceiling() for greater than or equal to. Finally, we look at the wait() and notify() methods. wait() takes parameter for duration, and wait() and notify() must be called from a synchronized context.