Home C C++ Java Python Perl PHP SQL JavaScript Linux Selenium QT Online Test

Home » Java » Objective Questions And Ans (Page-4)

Java Objective Questions (MCQs) - 224

Page 4 (61 - 80)


Question: 61

(A) Garbage Value
(B) Code has compilation error
(C) null
(D) 0

Level: Beginner Category: variables
[Posted by: Admin | Chicago, USA]



Question: 62

(A) Garbage Value
(B) 0
(C) Undefind
(D) Compilation Error

Level: Beginner Category: variables
[Posted by: Admin | Chicago, USA]



Question: 63

(A) 0
(B) 10
(C) -10
(D) Compilation Error

Level: Beginner Category: classesAndobjects
[Posted by: Admin | Chicago, USA]



Question: 64

(A) 5
(B) 10
(C) Error: Can't assign a value to final variable a
(D) None of the above

Level: Beginner Category: variables
[Posted by: Admin | Chicago, USA]



Question: 65

(A) 0
(B) 10
(C) Undefind
(D) Error: Can't modify final variable a

Level: Beginner Category: variables
[Posted by: Admin | Chicago, USA]



Question: 66

(A) 5
(B) 10
(C) 0
(D) Error: variable a might already have been assigned

Level: Beginner Category: variables
[Posted by: Admin | Chicago, USA]



Question: 67

(A) 1
(B) 2
(C) Compilation Error
(D) Infinite times

Level: Beginner Category: loops
[Posted by: Admin | Chicago, USA]



Question: 68

(A) 0
(B) 1
(C) Infinite Times
(D) Error: Unreachable Statement

Level: Beginner Category: loops
[Posted by: Admin | Chicago, USA]



Question: 69

(A) Infinite times
(B) 0 times
(C) 1 time
(D) error: unreachable statement

Level: Beginner Category: loops
[Posted by: Admin | Chicago, USA]



Question: 70

(A) Infinite times
(B) 0
(C) 1
(D) error: unreachable statement

Level: Beginner Category: loops
[Posted by: Admin | Chicago, USA]



Question: 71

(A) 0
(B) 1
(C) Infinite Times
(D) Compilation Error

Level: Beginner Category: loops
[Posted by: Admin | Chicago, USA]



Question: 72

(A) 00
(B) 0-1
(C) 0-2
(D) -2

Level: Beginner Category: methods
[Posted by: Admin | Chicago, USA]



Question: 73

(A) -2
(B) 0-1
(C) 0-2
(D) error: non-static method can't be called

Level: Practitioner Category: methods
[Posted by: Admin | Chicago, USA]



Question: 74

(A) Compilation Error
(B) 3
(C) 5
(D) 6

Level: Practitioner Category: methods
[Posted by: Admin | Chicago, USA]



Question: 75

(A) 63321
(B) 36
(C) 33
(D) 12336

Level: Expert Category: methods
[Posted by: Admin | Chicago, USA]



Question: 76

(A) 32136
(B) 33126
(C) 12336
(D) 63321

Level: Beginner Category: methods
[Posted by: Admin | Chicago, USA]



Question: 77

(A) 123456789
(B) 12345678
(C) 122
(D) None of the above

Level: Expert Category: methods
[Posted by: Admin | Chicago, USA]



Question: 78

(A) 12
(B) 01
(C) 11
(D) 10

Level: Beginner Category: methods
[Posted by: Admin | Chicago, USA]



Question: 79

(A) Yes
(B) No

Level: Beginner Category: methods
[Posted by: Admin | Chicago, USA]



Question: 80

(A) 123
(B) 1234
(C) 12340
(D) Compilation Error

Level: Beginner Category: typecasting
[Posted by: Admin | Chicago, USA]


Browse Java Categories

Datatype Variables Operators Decision Making Loops Methods Reference Variables Arrays Classes and Objects Abstract Class Singleton Class Modifiers Inheritance Overriding Polymorphism Abstraction Encapsulation Files and I/O TypeCasting Packages Exceptions Collections Framework Numbers Class Date & Time Regular Expressions Data Structures Interfaces Multithreading Other