CppBuzz.com
  
Home C C++ Java Python Perl PHP SQL Javascript Linux Forum

You are here : Home » Java » Java Interview Questions on Arrays

Java Interview Questions on Arrays - 14


Question: 1

(A) 12345
(B) 12345
(C) 124
(D) 135

DiscussOnForum
Beginner arrays[Posted by: Admin | Chicago, USA]



Question: 2

(A) 12345
(B) 12345
(C) 1
(D) Infinite times

DiscussOnForum
Beginner arrays[Posted by: Admin | Chicago, USA]



Question: 3

(A) 3
(B) 3
(C) 1
(D) 0

DiscussOnForum
Beginner arrays[Posted by: Admin | Chicago, USA]



Question: 4

(A) 12345
(B) 12345
(C) 22222
(D) 14385

DiscussOnForum
Beginner arrays[Posted by: Admin | Chicago, USA]



Question: 5

(A) a b c d e
(B) a b c d e
(C) 97 98 99 100 101
(D) 65 66 67 68 69

DiscussOnForum
Expert arrays[Posted by: Admin | Chicago, USA]



Question: 6

(A) a b c d e
(B) a b c d e
(C) 65 66 67 68 69
(D) None of the above

DiscussOnForum
Expert arrays[Posted by: Admin | Chicago, USA]



Question: 7

(A) abcde
(B) abcde
(C) Compilation Error
(D) Some Garbage Value

DiscussOnForum
Beginner arrays[Posted by: Admin | Chicago, USA]



Question: 8

(A) ASISH
(B) ASISH
(C) HSISA
(D) HSIS

DiscussOnForum
Practitioner arrays[Posted by: Asish | Des Moines USA]



Question: 9

(A) 12345
(B) 12345
(C) Compilation Error
(D) ArrayIndexOutOfBoundsException

DiscussOnForum
Expert arrays[Posted by: Admin | Chicago, USA]



Question: 10

(A) Compilation Error
(B) Compilation Error
(C) 246810
(D) Exception

DiscussOnForum
Practitioner arrays[Posted by: Admin | Chicago, USA]



Question: 11

(A) Arrays are passed by Value
(B) Arrays are passed by Value
(C) It depends on type of array
(D) It depends on Compiler

DiscussOnForum
Beginner arrays[Posted by: Admin | Chicago, USA]



Question: 12

(A) 0 cpp 0 buzz 1 cpp 1 buzz
(B) 0 cpp 0 buzz 1 cpp 1 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

DiscussOnForum
Practionar arrays[Posted by: Admin | Chicago, USA]



Question: 13

(A) 0
(B) 0
(C) null
(D) IndexOutOfBoundsException

DiscussOnForum
Practionar arrays[Posted by: Admin | Chicago, USA]



Question: 14

(A) Hello. How are you?Hello. How are you?
(B) Hello. How are you?Hello. How are you?
(C) Hello. How are you??
(D) Compilation/RuntimeError

DiscussOnForum
Expert arrays[Posted by: Admin | Chicago, USA]


[Contribute to this Website]


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 Serialization Multithreading Networking Sending Email Applet Basics Other