单项选择题
What does the value returned by the method getID() found in class java.awt.AWTEvent uniquely identify?()
A.The particular event instance.
B.The source of the event.
C.The set of events that were triggered by the same action.
D.The type of event.
E.The type of component from which the event originated.
相关考题
-
单项选择题
Whencreatingaclassthatassociatesasetofkeyswithasetofvalues,whichoftheseinterfacesismostapplicable?()
A.Collection
B.Set
C.SortedSet
D.Map -
单项选择题
Underwhichcircumstanceswillathreadstop?()
A.The method waitforId() in class MediaTracker is called.
B.The run() method that the thread is executing ends.
C.The call to the start() method of the Thread object returns.
D.The suspend() method is called on the Thread object.
E.The wait() method is called on the Thread object. -
多项选择题
Whichdeclarationswillallowaclasstobestartedasastandaloneprogram?()
A.public void main(String args[])
B.public void static main(String args[])
C.public static main(String[] argv)
D.final public static void main(String [] array)
E.public static void main(String args[])
