public class MainClass { public static void main(String[] argv) { System.out.println(area(1.2D)); } static Double area(Double radius) { return Math.PI * radius * radius; } }