CIS2168 TEN MINUTE TEST # 3 September 21, 2010 In the case of multiple choice questions, please select the SINGLE answer that is CLOSEST to the truth. (4) 1. b is a button, x is an action listener. What do I say? a. b.addActionListener(x); b. x.addActionListener(b); c. addActionListener(b, x); (5) 2. What is the Graphics class and where did you see it used? (10) 3. A listener can be added to a number of sources. How can you tell who raised it, when it receives an event? (10) 4. What are the methods in the interface Iterator? (10) 5. Implement the method printOut that, given as parameter a Collection c of Integer, prints out, one per line, each element of c public static void printOut(Collection c)