Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

In Java why we write public static void main(String args[])
why not main()?

Answer Posted / guest

main() will be treated as just another method.
but public static void main(String args[])
is treated as entry point of an java application

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by overloading?

1013


What is the default value of the local variables?

966


What is nested top-level class?

992


What is the difference between jdk and jre?

1012


What does @override mean?

1120


What are the restrictions that are applied to the java static methods?

938


Does treeset allow null in java?

917


When parseint method can be used?

903


Can a class extend 2 classes in java?

988


Is space a character in java?

969


How are variables stored?

932


How long will it take to learn java?

942


why we use merge option in hybernate pls give a ex snippet

1939


If a method is declared as protected, where may the method be accessed in java programming?

949


What are the two types of java?

1073