Vishal Adityaeniac.hashnode.devยทOct 8, 2024Do we really understand public static void main(String[ ] args)?Why public? The main method is public so that the JVM can access it from outside the class. JVM needs to call main method to start the execution of the program and making it public allows it to do so. Why static? The main method is static so that it...JavaAdd a thoughtful commentNo comments yetBe the first to start the conversation.