Programming - Arrays

You Are Here :: Home > JAVA > Arrays - General Questions

 
1.

An _________ is a container object that holds a fixed number of values of a single type.                        


A. Class B. array
C. Object D. Method




2.

Each item in an array is called an _________.                        


A. method B. Object
C. entity D. element




3.

each element is accessed by its numerical __________.                        


A. index B. package
C. Programme D. none




4.

An array's type is written as type[], where typeis the data type of the contained elements; the square brackets are special symbols indicating that this variable holds an array.                        


A. objects,classes B. methods,classes
C. elements,square brackets D. all the above




5.

The System class has an arraycopy() method that you can use to efficiently copy data from one array into another:                        


A. arraycopy() B. arraydiff( )
C. arraycmp() D. both a and b




6.

_______ provides methods to perform some of the most common manipulations related to arrays.                        


A. java ME B. java EE
C. Java SE D. none




1

2

3

4

5

6

next »

 
 



© 2013 freshersindia.in ® | Copyrights | Terms & Conditions
   Designed by Freshers India
Catch Us on