I have three methods.
public class MyProject { public static void getArea(double width, double length) { double area = (width * length);