Given Suppose the values of the array a BEFORE your code executed were: 15,7,22,4.
LANGUAGE: Java
CHALLENGE:
Given Suppose the values of the array a BEFORE your code executed were: 15,7,22,4.
Then, AFTER your code executed, the values of the array a would be: 3,7,22,4.
Note that the value of the first element was changed to 3. that an array named a with elements of typeint has been declared, assign 3 to its first element
SOLUTION:
a[0] = 3;