Question: Look at the following array definition: Int[] values = new int[10]; a. How many elements does the array have? b. What is the subscript of
Look at the following array definition:
Int[] values = new int[10];
a. How many elements does the array have?
b. What is the subscript of the first element in the array?
c. What is the subscript of the last element in the array?
Step by Step Solution
3.54 Rating (168 Votes )
There are 3 Steps involved in it
a How many elements does the array have The array has ... View full answer
Get step-by-step solutions from verified subject matter experts
