Question: please explain with reason. Suppose int i = 5, which of the following can be used as an index for array double[] t = new
please explain with reason.
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
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
