Question: Choose the statement that does not apply to the following declaration: double [ ] totalCostOfItems = {109.95, 169.95, 1.50, 89.95}; a. declares a one-dimensional array
Choose the statement that does not apply to the following declaration:
double [ ] totalCostOfItems = {109.95, 169.95, 1.50, 89.95};
a. declares a one-dimensional array of floating-point values
b. specifies the size of the array as five
c. sets the array element totalCostOfItems [1] to 169.95
d. declares an area in memory where data of double type can be stored
e. all are correct
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
