Which is an example of data you might store in an array?
A. Phone bills
B. average temperatures
C. grades
D. All of the above
D
Computer Science & Information Technology
You might also like to view...
What is a command shell?
What will be an ideal response?
Computer Science & Information Technology
In JDK 1.5, analyze the following code.
``` Line 1: Integer[] intArray = {1, 2, 3}; Line 2: int i = intArray[0] + intArray[1]; Line 3: int j = i + intArray[2]; Line 4: double d = intArray[0];``` a. It is OK to assign 1, 2, 3 to an array of Integer objects in JDK 1.5. b. It is OK to automatically convert an Integer object to an int value in Line 2. c. It is OK to mix an int value with an Integer object in an expression in Line 3. d. Line 4 is OK. An int value from intArray[0] object is assigned to a double variable d.
Computer Science & Information Technology