单项选择题
When creating a class that associates a set of keys with a set of values, which of these interfaces is most applicable?()
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[]) -
多项选择题
Whichstatementsaretrueconcerningthedefaultlayoutmanagerforcontainersinthejava.awtpackage?()
A.Objects instantiated from Panel do not have a default layout manager.
B.Objects instantiated from Panel have FlowLayout as default layout manager.
C.Objects instantiated from Applet have BorderLayout as default layout manager.
D.Objects instantiated from Dialog have BorderLayout as default layout manager.
E.Objects instantiated from Window have the same default layout manager as instances of Applet.
