Suppose you have the following declaration.

double[] salesData = new double[500];Which of the following range is valid for the index of the array salesData.(i)  0 through 500(ii) 0 through 499

A. Only (i)
B. Only (ii)
C. Both are invalid
D. None of these

Answer: B

Computer Science & Information Technology

You might also like to view...

If you fail to handle evidence properly ___________

a. You may damage the hard drive. b. It may be unusable in court. c. Law enforcement may not look at it. d. None of the above.

Computer Science & Information Technology

The first step in planning the installation of any operating system is to determine the hardware requirements.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology