text: A Java method is a collection of statements that are grouped together to perform an operation. When you call the System.out.println() method, for example, the system actually executes several statements in order to display a message on the console.
  A static method is also called a class method and is common across the objects of the class and this method can be accessed using class name as well.
  Any method of a class which is not static is called non-static method or an instance method.
  Following are the important differences between static and non-static method.
  JavaTester.java
  public class JavaTester { public static void main(String args[]) { Tiger.roar(); Tiger tiger = new Tiger(); tiger.eat(); } } class Tiger { public void eat(){ System.out.println("Tiger eats"); } public static void roar(){ System.out.println("Tiger roars"); } }
  Output
  Tiger roars Tiger eats