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 / shiva

In entire java program main() executes only once, so that
so that it is static.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How objects of a class are created if no constructor is defined in the class?

1017


Is map ordered in java?

881


What is java object name?

940


What is the size of int?

1034


What are wrapper classes in java?

1011


Justify your answer that you can't define a method inside another method in java, if you can then how?

1078


Explain 5 features introduced in jdk 1.7?

968


why are there separate wait and sleep methods? : Java thread

975


Name container classes in java programming?

1024


Why java is a platform independent? Explain

1005


Is class forname reflection?

911


What is nested loop? What is dangling else condition in it?

1021


Differentiate between stringbuffer and string?

990


Why synchronization is important in java?

985


What does the three dot emoji mean?

1050