Why we use static in method?

A static method has two main purposes: For utility or helper methods that don’t require any object state . Since there is no need to access instance variables, having static methods eliminates the need for the caller to instantiate the object just to call the method.

Read more