package w4; public class Rectangle extends Shape { private double wide; private double high; public Rectangle(double wide,double high){ this.wide=wide; this.high=high; } public double getArea(){ return wide*high; } }