Hi I get this error Cal(int, int) in Cal cannot be applied to ()
No idea whats going on.



class Cal{
private int base;
private int height;
private int total;

public Cal(int b,int h){
base=b;
height=h;
}
public void setHeight(int num){
height=num;
}
public void setBase(int num){
base=num;
}
public void getTotal(){
System.out.println("Area of a Rectangle is " +base*height);
}
}

//====================================================
class Cal2 extends Cal{
private int radius;
private int total2;


Cal2(int r){
radius = r;
}
public void setRadius(int num){
radius=num;
}
public void getTotal2(){
System.out.println("Area of a circle is " +3.14*radius*radius);
}
}

//=================================================
public class Inheritance4{
public static void main (String[] args){

Cal areaRectangle =new Cal(3,4);
Cal2 areaCircle =new Cal2(4);
areaRectangle.getTotal();

}
}