All methods and variables referenced inside a static method MUST be static if declared outside that static method.
Here are some examples:
Referencing Methods
All methods referenced from inside...
Type: Posts; User: aussiemcgr
All methods and variables referenced inside a static method MUST be static if declared outside that static method.
Here are some examples:
Referencing Methods
All methods referenced from inside...
Man, that is the one problem that almost everyone has when they start Java. It is a very confusing error when you first start. It took me forever to even understand what it meant when I first started.