plz explain your answer
==== =================== ============ what values are in the data array after the code runs exist simply leave it blank. int[] data = {2, -1, 6, -4, 5, 1); for (int i = 0; i < data.length; i++) { data[i] = data[i] + (data[i] / data [0]); answer: -1 data [0] = data[1] = data [2] = data[3] = data [4] = data[5] = data [6] = data [7] = ====== ===== = = = = = =========== 11 == – ==== ====== 11 ===== What is the output of this code? (Ignore wh int sum = 0; for (int i = 0; i <= 4; i++) { sum *= i; System.out.println(sum); [] O [] 1 [] 2 [ ] 3 [ ] 6 [] 18 None of the above ================== II . O What is the output of this code? Wha ut o public class Test{ Show transcribed image text ==== =================== ============ what values are in the data array after the code runs exist simply leave it blank. int[] data = {2, -1, 6, -4, 5, 1); for (int i = 0; i
Expert Answer
Answer to ==== =================== ============ what values are in the data array after the code runs exist simply leave it blank….