Use the operators ">", which statements are true? ()
A0000 0100 0000 0000 0000 0000 0000 0000<<5 gives 1000 0000 0000 0000 0000 0000 0000 0000
B0000 0100 0000 0000 0000 0000 0000 0000<<5 gives 1111 1100 0000 0000 0000 0000 0000 0000
C1100 0000 0000 0000 0000 0000 0000 0000>>5 gives 1111 1110 0000 0000 0000 0000 0000 0000
D1100 0000 0000 0000 0000 0000 0000 0000>>5 gives 0000 0110 0000 0000 0000 0000 0000 0000
相关问题推荐
-
Which statement is true?()
A、 An anonymous inner class may be declared as final.
B、 An anonymous inner class can be declared as private.
C、 An anonymous inner class can implement multiple interfaces.
D、 An anonymous inner class can access final variables in any enclosing scope.
E、 Construction of an instance of a static inner class requires an instance of the enclosing outer class.
-
int index = 1; boolean[] test = new Boolean[3]; boolean foo= test [index]; What is the result?()
A、 Foo has the value of 0.
B、 Foo has the value of null.
C、 Foo has the value of true.
D、 Foo has the value of false.
E、 An exception is thrown.
F、 The code will not compile.
-
Write a line of code that declares a variable named layout of type LayoutManager and initializes it with a new object, which when used with a container can lay out components in a rectangular grid of equal-sized rectangles, 3 components wide and 2 components high.()
-
public static void main(String[] args) { for (int i=0;i6) break; } System.out.println(i); } What is the result?()
A、 6
B、 7
C、 10
D、 11
E、 Compilation fails.
F、 An exception is thrown at runtime.
-
int i = 0; while (true) { if(i==4) { break; } ++i; } System.out.println(“i=”+i); What is the result?()
A、 i = 0
B、 i = 3
C、 i = 4
D、 i = 5
E、 Compilation fails.