Code:
ArrayList marks = new ArrayList(); String output = \"Class average:\" + calculateAverage() + \"\\n\" + \"Maximum mark:\" + calcu
private double calculateAverage(double [] marks) is the method declaration, so when its called it must have and argument of double array
eg:
calculateAverage(double_value_array);