//Yard.java
package test4;

public class Yard {
    double length;
    double width;

    public Yard(double length, double width) {
        this.length = length;
        this.width = width;
    }

    public double getPerimeter() {
        return (length + width) * 2;
    }

    public double getAcreage() {
        return length * width;
    }
}
