If you declare an array as int [ ] anArray = new int [5];
you can double the value stored in anArray [2] with the statement:
a. anArray [2] = anArray [5] * 2;
b. anArray = anArray * 2;
c. anArray [2] *= anArray [2] * 2;
d. anArray [2] *= 2;
e. none of the above
Sorry the answer is not available at the moment…
If you are able to find the answer, please make sure to post it here. So that your Juniors have smile on their lips and feel happy.
Spread the 'tradition of sharing'.