Shared Tutorials
Tutorials Shared by the Internet Community
Advertisements
| Top Tutorials | New Tutorials | Submit | Login | Register |
Tutorial Basic Detail
Why main method is declared public static in Java
Why Main method is declared public static void in Java is one of Classical interview questions in Java. Every Java Programmer knows that main method ihttp://javarevisited.blogspot.com/2011/12/main-public-static-java-void-method-why.html
Total Hits: 2940
Total Votes: 14 votes
Average Rating: 3.57 out of 5
Category: JAVA/Core JAVA
Description:
Why Main method is declared public static void in Java is one of Classical interview questions in Java. Every Java Programmer knows that main method is entry point in Java program but only few knows the secret behind signature and syntax of main method in Java. most of Java developer don't really know why main is static , public or void in java and this article answers this questions and explains reason why main is static in JavaRating Detail
| Stars | Percentage | Total Vote |
|---|---|---|
![]() |
![]() ![]() 14.29% |
2 |
![]() ![]() |
![]() ![]() 21.43% |
3 |
![]() ![]() ![]() |
![]() ![]() 14.29% |
2 |
![]() ![]() ![]() ![]() |
![]() ![]() 21.43% |
3 |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() 14.29% |
2 |





14.29%

21.43%

14.29%

21.43%

14.29%