Java Objective Questions (MCQs) - 225
Page 7 (121 - 140)
Question: 121
(A) 0
(B) 10
(C) Compilation Error
(D) Exception
Level: Practitioner Category: inheritance
[Posted by: Admin | Chicago, USA]
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: other
[Posted by: Admin | Chicago, USA]
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: modifiers
[Posted by: Admin | Chicago, USA]
Question: 124
(A) 1
(B) 2
(C) 3
(D) 4
Level: Beginner Category: inheritance
[Posted by: Admin | Chicago, USA]
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: modifiers
[Posted by: Admin | Chicago, USA]
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: modifiers
[Posted by: Admin | Chicago, USA]
Question: 127
(A) 1
(B) 2
(C) 3
(D) Max 256
Level: Beginner Category: classesAndobjects
[Posted by: Admin | Chicago, USA]
Question: 128
(A) 1
(B) 2
(C) 3
(D) 0
Level: Beginner Category: datatype
[Posted by: Admin | Chicago, USA]
Question: 129
(A) Cap Cog
(B) Cap Cap
(C) Cog Cog
(D) Cap Cog Cap Cog
Level: Expert Category: classesAndobjects
[Posted by: Admin | Chicago, USA]
Question: 130
(A) Cap Cog
(B) Cap Cap
(C) Cog Cog
(D) Cap Cog Cap Cog
Level: Expert Category: classesAndobjects
[Posted by: Admin | Chicago, USA]
Question: 131
(A) Yes
(B) No
Level: Practitioner Category: classesAndobjects
[Posted by: ASISH ARAVIND | Des Moines USA]
Question: 132
(A) 10203040
(B) 10203040Hello
(C) Hello
(D) None of these
Level: Expert Category: classesAndobjects
[Posted by: ASISH ARAVIND | Des Moines USA]
Question: 133
(A) 10203040
(B) 10203040Hello
(C) Hello
(D) Nothing is printed
Level: Expert Category: classesAndobjects
[Posted by: ASISH ARAVIND | Des Moines USA]
Question: 134
(A) null
(B) Nothing is printed
(C) Exception
(D) Compilation Error
Level: Expert Category: classesAndobjects
[Posted by: Admin | Chicago, USA]
Question: 135
(A) null
(B) Nothing is printed
(C) Compilation Error
(D) ArrayIndexOutOfBoundsException
Level: Practitioner Category: methods
[Posted by: Admin | Chicago, USA]
Question: 136
(A) Ash
(B) Ashxyz
(C) Nothing is printed
(D) AshxyzabcImn
Level: Expert Category: conditional
[Posted by: ASISH ARAVIND | Des Moines USA]
Question: 137
(A) AT&T Lab65
(B) AT&T Lab 65
(C) AT&T Lab
(D) Compilation Error
Level: Practitioner Category: methods
[Posted by: Admin | Chicago, USA]
Question: 138
(A) 6565
(B) 65
(C) "65"
(D) None of the above
Level: Practitioner Category: methods
[Posted by: Admin | Chicago, USA]
Question: 139
(A) 65 & Infinite loop
(B) 65
(C) Nothing is printed
(D) Compilation Error
Level: Expert Category: methods
[Posted by: Admin | Chicago, USA]
Question: 140
(A) 'a'
(B) a
(C) 65
(D) 97
Level: Practitioner Category: datatype
[Posted by: Admin | Chicago, USA]