Difference between Static and Non-Static function is as follows :
A static function can be accessed without creating any instance of the class. If you try to use a non-static function and variable defined in this class then the compiler will say that non-static variable or function cannot be referenced from a static context. Static function can call only other static methods and static variables defined in the class. For further more information and sample example visit the following link: http://www.roseindia.net/java/beginners/howtoaccessstaticmethod.shtml
I hope that this will work for you.