import java.awt.Point;
class Widget {
public static final int TYPEA = 1;
public static final int TYPEB = 2;
private static int count = 0;
static void addOne() {
count++;
} // a static method
static final String name = "Widget";
static final Point varX;
static { // start static initialization block
varX = new Point(0, 0);
}
}
|