class Summer {
public static int sumAll(){
int[] nums = {2, 4, 6, 8};
int total = 0; //Accumulator variable
for(int i = 0; i < nums.length; i++){
total = total + nums[i]; //Update it
}
return total; //Return it
}
}