static indicates that the main() method is a static method (also known as class method ).
Read moreWhy is the main () method special in a Java program?
The main method in Java is public so that it’s visible to every other class, even which are not part of its package . if it’s not public JVM classes might not able to access it. 2. The main method is static in Java so that it can be called without creating any instance.7 Eyl 2021
Read moreWhat is the purpose of main () method?
The purpose of main method in Java is to be program execution start point . When you run java.exe , then there are a couple of Java Native Interface (JNI) calls. These calls load the DLL that is really the JVM (that’s right – java.exe is NOT the JVM).
Read more