Question: Why is the main method declared static?
Why is the main method declared static?
When we declare main() method in any Java class always has the same signature, and we declare public static void main(String args. The motive of it is that static in JVM can call it directly without creating any instance for the java class, where we declared it. Any static java method can be called without having to instantiate in the class that defines the static method.