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

Home » Java » Java Multiple Choice Questions For Beginners

Java Multiple Choice Questions For Beginners - 24

Page 4 of 4 Showing 25 Questions


Question: 75

(A) 22
(B) 12
(C) 11
(D) 21

Level: Beginner Category of MCQ: collection



Question: 76

(A) True
(B) False

Level: Beginner Category of MCQ: packages



Question: 77

(A) True
(B) False

Level: Beginner Category of MCQ: packages



Question: 78

(A) True
(B) False

Level: Beginner Category of MCQ: packages



Question: 79

(A) Yes
(B) No

Level: Beginner Category of MCQ: overriding



Question: 80

(A) NullPointerException
(B) NumberFormatException
(C) ClassCastException
(D) ParseException

Level: Beginner Category of MCQ: exceptions



Question: 81

Level: Beginner Category of MCQ: exceptions



Question: 82

(A) abstract is a keyword
(B) abstract is a method
(C) abstract is a class
(D) All of these

Level: Beginner Category of MCQ: interfaces



Question: 83

(A) Heap
(B) Stack
(C) Cache
(D) Register

Level: Beginner Category of MCQ: referencevar



Question: 84

(A) throws
(B) finally
(C) catch
(D) throw

Level: Beginner Category of MCQ: exceptions



Question: 85

(A) finally
(B) catch
(C) finally & catch
(D) none of the mentioned

Level: Beginner Category of MCQ: exceptions



Question: 86

(A) java.io
(B) java.util
(C) java.lang
(D) java.net

Level: Beginner Category of MCQ: exceptions



Question: 87

(A) 0
(B) garbage value
(C) runtime error
(D) compile time error

Level: Beginner Category of MCQ: other



Question: 88

(A) a
(B) b
(C) a and both
(D) Neither a nor b

Level: Beginner Category of MCQ: other



Question: 89

(A) 10
(B) 0
(C) Error in Code
(D) Nothing is printed

Level: Beginner Category of MCQ: datatype



Question: 90

(A) [7,1,5]
(B) [7,5,1]
(C) [7, 1, 5, 1]
(D) None of the above

Level: Beginner Category of MCQ: datatype



Question: 91

(A) Pen Pencil Box
(B) Pen Pencil
(C) Box
(D) Compilation Error

Level: Beginner Category of MCQ: datatype



Question: 92

(A) join
(B) sleep
(C) getPriority
(D) isAlive

Level: Beginner Category of MCQ: multithreading



Question: 93

Level: Beginner Category of MCQ: multithreading



Question: 94

Level: Beginner Category of MCQ: multithreading



Question: 95

Level: Beginner Category of MCQ: variables



Question: 96

Level: Beginner Category of MCQ: exceptions



Question: 97

Level: Beginner Category of MCQ: other



Question: 98

(A) 0
(B) Garbage Value
(C) Compiler Error
(D) Runtime Error

Level: Beginner Category of MCQ: datatype


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