Home » Java » MCQs
Showing 1 - 20 of 100
Question: 1
(A) True
(B) False
Question: 2
(A) True
(B) False
Question: 3
(A) Windows
(B) Mac OS
(C) UNIX
(D) All of these
Question: 4
(A) Local variables are declared in methods, constructors, or blocks
(B) Local variables are created when the method, constructor or block is entered
(C) the variable will be destroyed once it exits the method, constructor, or block
(D) We can't create reference variables of Local variables
Question: 5
(A) >=
(B) <=
(C) !=
(D) +=
Question: 6
(A) ()
(B) *
(C) +
(D) ++
Question: 7
(A) ()
(B) ++
(C) *
(D) >=
Question: 8
(A) Left Shift Operator
(B) Right Shift Operator
(C) Zero Fill Right Shift
(D) Zero Fill Left Shift
Question: 9
(A) |
(B) ^
(C) ~
(D) <->
Question: 10
(A) -
(B) +
(C) *