import java.awt.Point; class Base extends Object { Point theP; String str = ""; Base(int x, int y) { theP = new Point(x, y); } Base(String txt, int x, int y) { this(x, y); str = txt; } }