Q: I'm getting an error that says method in class cannot be applied to given types I'm new to Java inheritance. I am getting this error

CylinderArea.java:21: error: method getRadius in class CircleArea cannot be applied to given types;
return (2Math.PIgetRadius()height)+(2super.findArea());
^
here is my code for the super class
import java.text.DecimalFormat;

public class CircleArea{
  private double radius;

  public CircleArea(){ //default
      radius = 10.22;
  }

  public CircleArea(double r){ //constructor with value
      radius = r;
  }

  public double getRadius(){
      return radius;
  }

  public double findArea(){
      return Math.PI*radius*radius;
  }

  public String toString(){
      DecimalFormat df = new DecimalFormat("###,###,##");
      return "\nThe radius of the Circle is: "+radius
          +   "\nThe area of the Circle is: "+df.format(findArea());
  }

}

this is the sub class
import java.text.DecimalFormat; 

public class CylinderArea extends CircleArea{
  private double height;

  public CylinderArea(){
      super();
      height = 22.50;
  }

  public CylinderArea(double r, double h){
      super(r);
      height = h;
  }

  public double getHeight(){
      return height;
  }

  public double findArea(){
      return (2*Math.PI*getRadius()*height)+(2*super.findArea());
  }

  public String toString(){
      DecimalFormat df = new DecimalFormat("###,###.##");
      return "\nThe radius of the Cylinder is: "+getRadius()
          +   "\nThe area of the Cylinder is: "+df.format(findArea()); 
  }
}

and this is the main
public class TestInheritance{

  public static void main(String []args){
    CircleArea c1 = new CircleArea();
    CylinderArea cy1 = new CylinderArea();

    System.out.println(c1);
    System.out.println(cy1);
  }
}

Can anyone help?

A: I have tried the same code in my ide(Eclipse) and does not get any error.
Given Code Output
