ContactUs :

Please send your Questions & Answers or Feedback to ""

What is the importance of main method in Java?

main() method is the entry point of any standalone java application. The syntax of main method is public static void main(String args[]).

main method is public and static so that java can access it without initializing the class. The input parameter is an array of String through which we can pass runtime arguments to the java program.
Related Posts Plugin for WordPress, Blogger...
Flag Counter