0
Giving static class error for some reason, someone can help?
class Media{
public int Media(int a, int b){
return (a + b) / 2;
}
public double Media2(double a, double b){
return (a + b) / 2;
}
public static void main(String[] args) {
System.out.println(Media(10, 2));
}
}