100 Multiple Choice Questions on Java Set-1
Question: 1
(A) True
(B) False
Level: Beginner Catgory: methods
[Posted by: Admin | Chicago, USA]
Question: 2
(A) True
(B) False
Level: Beginner Catgory: variables
[Posted by: Admin | Chicago, USA]
Question: 3
(A) Windows
(B) Mac OS
(C) UNIX
(D) All of these
Level: Beginner Catgory: other
[Posted by: Admin | Chicago, USA]
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
Level: Beginner Catgory: variables
[Posted by: Admin | Chicago, USA]
Question: 5
(A) >=
(B) <=
(C) !=
(D) +=
Level: Beginner Catgory: operators
[Posted by: Admin | Chicago, USA]
Question: 6
(A) ()
(B) *
(C) +
(D) ++
Level: Beginner Catgory: operators
[Posted by: Admin | Chicago, USA]
Question: 7
(A) ()
(B) ++
(C) *
(D) >=
Level: Beginner Catgory: operators
[Posted by: Admin | Chicago, USA]
Question: 8
(A) Left Shift Operator
(B) Right Shift Operator
(C) Zero Fill Right Shift
(D) Zero Fill Left Shift
Level: Expert Catgory: operators
[Posted by: Admin | Chicago, USA]
Question: 9
(A) |
(B) ^
(C) ~
(D) <->
Level: Beginner Catgory: operators
[Posted by: Admin | Chicago, USA]
Question: 10
(A) -
(B) +
(C) *
Level: Beginner Catgory: operators
[Posted by: Admin | Chicago, USA]
Question: 11
(A) 138
(B) 264
(C) 41
(D) 25
Level: Beginner Catgory: operators
[Posted by: Admin | Chicago, USA]
Question: 12
(A) 100
(B) 90
(C) 99
(D) 72
Level: Beginner Catgory: variables
[Posted by: Admin | Chicago, USA]
Question: 13
(A) 100
(B) 90
(C) 81
(D) 80
Level: Beginner Catgory: operators
[Posted by: Admin | Chicago, USA]
Question: 14
(A) 121
(B) 144
(C) 132
(D) 100
Level: Beginner Catgory: operators
[Posted by: Admin | Chicago, USA]
Question: 15
(A) 121
(B) 132
(C) 144
(D) 100
Level: Beginner Catgory: operators
[Posted by: Admin | Chicago, USA]
Question: 16
(A) 100
(B) 110
(C) 121
(D) 144
Level: Beginner Catgory: variables
[Posted by: Admin | Chicago, USA]
Question: 17
(A) 100
(B) 110
(C) 121
(D) Compilation Error
Level: Beginner Catgory: operators
[Posted by: Admin | Chicago, USA]
Question: 18
(A) 10
(B) 11
(C) 12
(D) 13
Level: Beginner Catgory: operators
[Posted by: Admin | Chicago, USA]
Question: 19
(A) 11
(B) 12
(C) 13
(D) Compilation Error
Level: Practitioner Catgory: operators
[Posted by: Admin | Chicago, USA]
Question: 20
(A) 10
(B) 11
(C) 12
(D) Compilation Error
Level: Expert Catgory: datatype
[Posted by: Admin | Chicago, USA]