title: How to print a static method in java that takes an int as parameter and returns a double
body: <p>I'm having difficulty trying to print the result of the static method calcArea, which takes the int radius as parameter to calculate the area of a circle and returns the area. </p>
  
  <p>Here's the code below  Any help would be appreciated. </p>
  
  <pre><code>public class CircleArea {
  
      public int radius;
  
       public static void main(String[] args) {
  
            Scanner input = new Scanner (System.in);
            System.out.print("Enter the radius of the circle: ");
  
           int radius = input.nextInt();
  
            System.out.print("The area of the circle is:" + calcArea()); &lt;-- ERROR HERE
       }
  
        public static double calcArea(int radius){          
  
            double  area = Math.PI * Math.pow(radius, 2);
            return area;          
  
        }
  }
  </code></pre>