
constructors and mutator methods should
check to make sure that it is always odd. Write a test program for each class that tests all
the methods in the class.
You can assume that the width of the base of the arrowhead is at least 3.public abstract
class ShapeBase implements ShapeInterface
{
private int offset;
public abstract void drawHere();
public void drawAt(int lineNumber)
{
for (int count = 0; count < lineNumber; count++)
System.out.println();
drawHere();