Suppose int i = 5, which of the following can be used as an index for array double[] t = new double[100]?

a. i
b. (int)(Math.random() * 100))
c. i + 10
d. i + 6.5
e. Math.random() * 100

a. i
b. (int)(Math.random() * 100))
c. i + 10

Computer Science & Information Technology

You might also like to view...

A(n) ________ is an object on a worksheet or chart into which you can type text

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Explain the importance of green computing.

What will be an ideal response?

Computer Science & Information Technology