If you declare a variable or method static it means that it is a class
variable or method. Then you can access it with something like
x = MyClass.staticVariable;
but if you don't declare it static you would have to use something like
MyClass obj = new MyClass;
x = obj.nonStaticVariable;