posted 13 years ago
The fix() method changes the value of the second element of the array to 7 so you now have Then the println statements displays the total sum of the values of the elements, which is equal to 15 15. If you want individual elements to be displayed then modify the println statement as follows:
Output:
I hope this helps
Regards
Ikpefua
OCPJP 6.
In Your Pursuit Towards Certification, NEVER Give Up.