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
Correct Answer:
Verified
Q21: int[] list = {1, 3, 5, 7};(int
Q23: char[][] table = new char[10][5];How many columns
Q24: char[][] table = new char[10][5];What is the
Q27: The method size in the class Vector
Q27: Which of the following is the array
Q28: int[] numList = new int[50];for (int i
Q30: char[][] table = new char[10][5];What is the
Q33: Vectors can be used to implement lists.
Q36: A Vector object can shrink during program
Q39: The statement dataType[][][] arrayName; would declare a
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents