14. Here is the ActionEvent family tree:
java.lang.Object
|--- java.util.EventObject
|---java.awt.AWTEvent
|---- java.awt.event.ActionEvent
Suppose we have the following code to count events and
save the most recent event:
int evtCt = 0 ;
AWTEvent lastE ;
public void saveEvent( AWTEvent evt )
{
lastE = evt ;
evtCt++ ;
}
Which of the following calls of saveEvent would run
without causing an exception?
Select all possible answers:
A. call with an AWTEvent object reference
B. call with an ActionEvent object reference
C. call with an EventObject object reference
D. call with null value