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

Home » Java » MCQs (Page-4)

Java Objective Questions (MCQs) - 225

Page 4 (61 - 80)


Question: 61

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

Level: Beginner Category of MCQ: variables



Question: 62

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

Level: Beginner Category of MCQ: variables



Question: 63

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

Level: Beginner Category of MCQ: classesAndobjects



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 of MCQ: variables



Question: 65

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

Level: Beginner Category of MCQ: variables



Question: 66

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

Level: Beginner Category of MCQ: variables



Question: 67

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

Level: Beginner Category of MCQ: loops



Question: 68

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

Level: Beginner Category of MCQ: loops



Question: 69

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

Level: Beginner Category of MCQ: loops



Question: 70

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

Level: Beginner Category of MCQ: loops



Question: 71

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

Level: Beginner Category of MCQ: loops



Question: 72

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

Level: Beginner Category of MCQ: methods



Question: 73

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

Level: Practitioner Category of MCQ: methods



Question: 74

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

Level: Practitioner Category of MCQ: methods



Question: 75

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

Level: Expert Category of MCQ: methods



Question: 76

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

Level: Beginner Category of MCQ: methods



Question: 77

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

Level: Expert Category of MCQ: methods



Question: 78

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

Level: Beginner Category of MCQ: methods



Question: 79

(A) Yes
(B) No

Level: Beginner Category of MCQ: methods



Question: 80

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

Level: Beginner Category of MCQ: typecasting


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