单项选择题
Under which circumstances will a thread stop?()
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. -
单项选择题
What will be written to the standard output when the following program is run?() public class Q63e3 { public static void main(String args[]) { System.out.println(9 ^ 2); } }
A.81
B.7
C.11
D.0
E.false
