The array storesnbspnbspnbsp values ofnbspnbspnbsp type


Answer questions based on the following code:

int[] x = new int [10];

1. x is a reference variable to an array. Its dimension is ________________  . (use numeric value)

2. x.length has a value of ____________  . (use numeric value)

3. The array stores _______________   values of ________________   type. (numeric value for first; case sensitive Java type for second) 

4. The first element, x[______  ], is initialized to ___________  .  (numeric values)

5. The index to the last element is _____________  . (numeric value)

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: The array storesnbspnbspnbsp values ofnbspnbspnbsp type
Reference No:- TGS02203426

Now Priced at $25 (50% Discount)

Recommended (94%)

Rated (4.6/5)