单项选择题
Which of the following answer is correct to express the value 8 in octal number?()
A. 010
B. 0x10
C. 08
D. 0x8
相关考题
-
多项选择题
Given the following code fragment: public void create() { Vector myVect; myVect = new Vector(); } Which of the following statements are true?()
A. The declaration on line 2 does not allocate memory space for the variable myVect.
B. The declaration on line 2 allocates memory space for a reference to a Vector object.
C. The statement on line 2 creates an object of class Vector.
D. The statement on line 3 creates an object of class Vector.
E. The statement on line 3 allocates memory space for an object of class Vector. -
单项选择题
Whichlayoutmanagerisusedwhentheframeisresizedthebuttons’spositionintheFramemightbechanged?()
A. BorderLayout
B. FlowLayout
C. CardLayout
D. GridLayout -
多项选择题
Usetheoperators">",whichstatementsaretrue?()
A. 0000 0100 0000 0000 0000 0000 0000 0000<<5 gives 1000 0000 0000 0000 0000 0000 0000 0000
B. 0000 0100 0000 0000 0000 0000 0000 0000<<5 gives 1111 1100 0000 0000 0000 0000 0000 0000
C. 1100 0000 0000 0000 0000 0000 0000 0000>>5 gives 1111 1110 0000 0000 0000 0000 0000 0000
D. 1100 0000 0000 0000 0000 0000 0000 0000>>5 gives 0000 0110 0000 0000 0000 0000 0000 0000
