Java Objective Questions (MCQs) - 225
Page 7 (121 - 140)
Question: 121
(A) 0
(B) 10
(C) Compilation Error
(D) Exception
Level: Practitioner Category of MCQ: inheritance
Question: 122
(A) Automatic Memory Management
(B) Speed-up the Execution of Java code
(C) to handle runtime exceptions
(D) All of these
Level: Practitioner Category of MCQ: other
Question: 123
(A) It CAN be accessed from ANYWHERE
(B) It CAN ONLY be accessed from ’same package’
(C) It can be accessed from the same file
(D) It can be access from the same project
Level: Beginner Category of MCQ: modifiers
Question: 124
(A) 1
(B) 2
(C) 3
(D) 4
Level: Beginner Category of MCQ: inheritance
Question: 125
(A) Private members can be accessed within a same package
(B) Private members can be accessed within class only
(C) Private members can be accessed within sub classes of same package
(D) All of the above
Level: Practitioner Category of MCQ: modifiers
Question: 126
(A) It is visible to same project
(B) It is visible to same package
(C) It is visible to same file
(D) All of these
Level: Beginner Category of MCQ: modifiers
Question: 127
(A) 1
(B) 2
(C) 3
(D) Max 256
Level: Beginner Category of MCQ: classesAndobjects
Question: 128
(A) 1
(B) 2
(C) 3
(D) 0
Level: Beginner Category of MCQ: datatype
Question: 129
(A) Cap Cog
(B) Cap Cap
(C) Cog Cog
(D) Cap Cog Cap Cog
Level: Expert Category of MCQ: classesAndobjects
Question: 130
(A) Cap Cog
(B) Cap Cap
(C) Cog Cog
(D) Cap Cog Cap Cog
Level: Expert Category of MCQ: classesAndobjects
Question: 131
(A) Yes
(B) No
Level: Practitioner Category of MCQ: classesAndobjects
Question: 132
(A) 10203040
(B) 10203040Hello
(C) Hello
(D) None of these
Level: Expert Category of MCQ: classesAndobjects
Question: 133
(A) 10203040
(B) 10203040Hello
(C) Hello
(D) Nothing is printed
Level: Expert Category of MCQ: classesAndobjects
Question: 134
(A) null
(B) Nothing is printed
(C) Exception
(D) Compilation Error
Level: Expert Category of MCQ: classesAndobjects
Question: 135
(A) null
(B) Nothing is printed
(C) Compilation Error
(D) ArrayIndexOutOfBoundsException
Level: Practitioner Category of MCQ: methods
Question: 136
(A) Ash
(B) Ashxyz
(C) Nothing is printed
(D) AshxyzabcImn
Level: Expert Category of MCQ: switch
Question: 137
(A) AT&T Lab65
(B) AT&T Lab 65
(C) AT&T Lab
(D) Compilation Error
Level: Practitioner Category of MCQ: methods
Question: 138
(A) 6565
(B) 65
(C) "65"
(D) None of the above
Level: Practitioner Category of MCQ: methods
Question: 139
(A) 65 & Infinite loop
(B) 65
(C) Nothing is printed
(D) Compilation Error
Level: Expert Category of MCQ: methods
Question: 140
(A) 'a'
(B) a
(C) 65
(D) 97
Level: Practitioner Category of MCQ: datatype