What is the reason behind “non-static method cannot be referenced from a static context”? [duplicate] Tags: javastatic