What will be the output of the following program?
int[] arr = {5, 10, 15, 20, 25}; int sum = 0; for (int num : arr) { sum += num; } System.out.println(sum);
50
60
55
65
This question is part of this quiz :