AShape.java
Created with JBuilder
/**
 * Abstract geometrical shape that intrinsically knows how to compute its area.
 * Concrete methods to compute areas are relegated to concrete subclasses.
 * @author Dung X. Nguyen
 * 

* Copyright 2001 by Dung X. Nguyen - All rights reserved. *

*/ public abstract class AShape { /** * For concrete subclasses to provide code to compute the area. * @return this Shape's area. */ public abstract double getArea(); }
AShape.java
Created with JBuilder