帮我看看这个哪里错了
程序代码:
class Point{ public int sum(int x, int y , int z ){ sum =x + y + z; return sum; } public int aver(int x , int y , int z){ aver = (x + y + z)/3; return aver; } public static void main (String args []){ Point num = new num(); System.out.println(num.sum(90,90,90)); System.out.println(num.aver(90,90,90)); System.out.println("这个就是同学的成绩"); } }编译了以后好多错误 又查不出来
就是用类方法求同学的成绩总和跟平均成绩