Java Multiple Choice Questions For Beginners - 25
Page 1 of 4 Showing 25 Questions
Question: 1
(A) 10
(B) 11
(C) 12
(D) 13
Level: Beginner Category: operators
[Posted by: Admin | Chicago, USA]
Question: 2
(A) 100
(B) 110
(C) 121
(D) Compilation Error
Level: Beginner Category: operators
[Posted by: Admin | Chicago, USA]
Question: 3
(A) 100
(B) 110
(C) 121
(D) 144
Level: Beginner Category: variables
[Posted by: Admin | Chicago, USA]
Question: 4
(A) 121
(B) 132
(C) 144
(D) 100
Level: Beginner Category: operators
[Posted by: Admin | Chicago, USA]
Question: 5
(A) 121
(B) 144
(C) 132
(D) 100
Level: Beginner Category: operators
[Posted by: Admin | Chicago, USA]
Question: 6
(A) 100
(B) 90
(C) 81
(D) 80
Level: Beginner Category: operators
[Posted by: Admin | Chicago, USA]
Question: 7
(A) 100
(B) 90
(C) 99
(D) 72
Level: Beginner Category: variables
[Posted by: Admin | Chicago, USA]
Question: 8
(A) 138
(B) 264
(C) 41
(D) 25
Level: Beginner Category: operators
[Posted by: Admin | Chicago, USA]
Question: 9
(A) -
(B) +
(C) *
Level: Beginner Category: operators
[Posted by: Admin | Chicago, USA]
Question: 10
(A) |
(B) ^
(C) ~
(D) <->
Level: Beginner Category: operators
[Posted by: Admin | Chicago, USA]
Question: 11
(A) ()
(B) ++
(C) *
(D) >=
Level: Beginner Category: operators
[Posted by: Admin | Chicago, USA]
Question: 12
(A) ()
(B) *
(C) +
(D) ++
Level: Beginner Category: operators
[Posted by: Admin | Chicago, USA]
Question: 13
(A) >=
(B) <=
(C) !=
(D) +=
Level: Beginner Category: operators
[Posted by: Admin | Chicago, USA]
Question: 14
(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 Category: variables
[Posted by: Admin | Chicago, USA]
Question: 15
(A) Windows
(B) Mac OS
(C) UNIX
(D) All of these
Level: Beginner Category: other
[Posted by: Admin | Chicago, USA]
Question: 16
(A) True
(B) False
Level: Beginner Category: variables
[Posted by: Admin | Chicago, USA]
Question: 17
(A) True
(B) False
Level: Beginner Category: methods
[Posted by: Admin | Chicago, USA]
Question: 18
(A) True
(B) False
Level: Beginner Category: methods
[Posted by: Admin | Chicago, USA]
Question: 19
(A) byte
(B) short
(C) long
(D) class
Level: Beginner Category: datatype
[Posted by: Admin | Chicago, USA]
Question: 20
(A) 5
(B) 4
(C) 1
(D) 0
Level: Beginner Category: loops
[Posted by: Admin | Chicago, USA]
Question: 21
(A) 5
(B) 4
(C) 3
(D) 2
Level: Beginner Category: loops
[Posted by: Admin | Chicago, USA]
Question: 22
(A) 5
(B) 10
(C) 0
(D) Compilation Error
Level: Beginner Category: conditional
[Posted by: Admin | Chicago, USA]
Question: 23
(A) Compiler
(B) Class Loader
(C) Byte Code Verifier
(D) Java Virtual Machine
Level: Beginner Category: other
[Posted by: Admin | Chicago, USA]
Question: 24
(A) Editing -> Compilation -> Class Loader -> Bytecode Verifier -> Execution
(B) Editing -> Bytecode Verifier -> Compilation -> Class Loader -> Execution
(C) Editing -> Compilation -> Bytecode Verifier -> Class Loader -> Execution
(D) None of the above
Level: Beginner Category: other
[Posted by: Admin | Chicago, USA]
Question: 25
(A) friends
(B) friend
(C) fr
(D) compilation Error
Level: Beginner Category: loops
[Posted by: ASISH ARAVIND | Des Moines USA]