I hope someone can explain an error message that I routinely seem to get:
"non-static method varOut() cannot be referenced from a static context Stub.varOut()"
Here's the context. I have one class's method call another class's (Stub) method (varOut).
I have a work around. In the first class, I create a Stub object:
private Stub st = new Stub();
then I call the method with:
It then works fine, but I would like to know why.