It is my understanding that static methods can't access non-static methods or non-static instance variables, however I wanted to be sure I'm clear in the opposite case, specifically calling a static method from within a non static method. Also, I'm pretty sure static variables may be incremented from a non-static method, ie constructor(). So the question I think really has to do with calling a static method from within a non static method:
class Avg2 extends Thingee
{
static private int WidgetCount = 0;
public
string wName;
int wNumber;
private static synchronized in addWidget()
{
return ++Widgetcount;
}
public Avg2()
{
wNumber = addWidget()
}
}
Thanks in advance for your help