Java Interview Questions on Arrays - 14
Question: 1
(A) 12345
(B) 123
(C) 124
(D) 135
Forum
Level: Beginner Category: arrays
[Posted by: Admin | Chicago, USA]
Question: 2
(A) 12345
(B) Nothing is printed
(C) 1
(D) Infinite times
Forum
Level: Beginner Category: arrays
[Posted by: Admin | Chicago, USA]
Question: 3
(A) 3
(B) 2
(C) 1
(D) 0
Forum
Level: Beginner Category: arrays
[Posted by: Admin | Chicago, USA]
Question: 4
(A) 12345
(B) 135
(C) 22222
(D) 14385
Forum
Level: Beginner Category: arrays
[Posted by: Admin | Chicago, USA]
Question: 5
(A) a b c d e
(B) abcde
(C) 97 98 99 100 101
(D) 65 66 67 68 69
Forum
Level: Expert Category: arrays
[Posted by: Admin | Chicago, USA]
Question: 6
(A) a b c d e
(B) 96 97 98 99 101
(C) 65 66 67 68 69
(D) None of the above
Forum
Level: Expert Category: arrays
[Posted by: Admin | Chicago, USA]
Question: 7
(A) abcde
(B) 6566676869
(C) Compilation Error
(D) Some Garbage Value
Forum
Level: Beginner Category: arrays
[Posted by: Admin | Chicago, USA]
Question: 8
(A) ASISH
(B) asish
(C) HSISA
(D) HSIS
Forum
Level: Practitioner Category: arrays
[Posted by: Asish | Des Moines USA]
Question: 9
(A) 12345
(B) 1234
(C) Compilation Error
(D) ArrayIndexOutOfBoundsException
Forum
Level: Expert Category: arrays
[Posted by: Admin | Chicago, USA]
Question: 10
(A) Compilation Error
(B) 12345
(C) 246810
(D) Exception
Forum
Level: Practitioner Category: arrays
[Posted by: Admin | Chicago, USA]
Question: 11
(A) Arrays are passed by Value
(B) Arrays are passed by Reference
(C) It depends on type of array
(D) It depends on Compiler
Forum
Level: Beginner Category: arrays
[Posted by: Admin | Chicago, USA]
Question: 12
(A) 0 cpp 0 buzz 1 cpp 1 buzz
(B) 0 cpp 0 buzz 1 cpp 2 buzz
(C) 0 cpp 0 buzz 1 cpp 1 buzz 2 cpp 2 buzz
(D) 0 cpp 0 buzz 1 cpp 2 cpp 2 buzz
Forum
Level: Practionar Category: arrays
[Posted by: Admin | Chicago, USA]
Question: 13
(A) 0
(B) 10
(C) null
(D) IndexOutOfBoundsException
Forum
Level: Practionar Category: arrays
[Posted by: Admin | Chicago, USA]
Question: 14
(A) Hello. How are you?Hello. How are you?
(B) Hello. How are you?
(C) Hello. How are you??
(D) Compilation/RuntimeError
Forum
Level: Expert Category: arrays
[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 OtherCppBuzz Forum☆
Now you can ask programming questions on our forum [continue..]