Choose the statement that does not apply to the following declaration: double [ ] totalCostOfItems = {109.95,
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 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
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
C# Programming From Problem Analysis To Program Design
ISBN: 9781285856872
5th Edition
Authors: Barbara Doyle
Question Posted: