static method

Methods declared as static are class members and have the following restrictions:
* They can only call other static methods.
* They must only access static data.
* They cannot access this or super.
* Static data members and static methods can be accessed without creating an object. They can be accessed using the class names.
* Static methods can be inherited from class, but cannot be inherited from Java interface.