I. define your own “handler” class that implements the appropriate Java-provided listener interface
II. define your own “handler” class that extends the appropriate Java-provided adapter class
III. construct an object of your “handler” class
IV. add your handler object to the list of listeners Java maintains
A. Either I or II, and III and IV
B. I, II, III and IV
C. II and III only
D. I and III only
E. Either I or II, and IV only
“notice” an event (and react to it), Java requires you to do which of the following things?
The answer would appear to be A according to http://java.sun.com/docs/books/tutorial/...
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment