static basically means non changeable. So for example, foo is a static method of class Database. You can only do Database.foo(); However if you don't have static, you cant use it on an object. So for example you have:
Code:
public static void foo() {}
public void bar(){}
Code:
Database Blah = new Database();
Blah.bar();
that will work but if you went
Code:
Database Blah = new Database();
Blah.foo();
that will generate an error. Point is, make sure that you referenced static and non static correctly