This document contains a quiz on Java concepts with 3 multiple choice questions. The first question asks which collection interface TreeMap implements, with the correct answer being SortedMap. The second question asks how garbage collection can be forced, with the answer being that it cannot be forced. The third question provides code assigning dates to variables and changing a year, asking what the output will be. The correct answer is that d1 and d2 will have different years printed, with d2's year changed in the method.
Related topics: