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 do I print a “?

993


What is arraylist e?

1075


What is array size in java?

952


How do you create a null object?

1079


Define packages in java?

997


How do you sing an Applet ?

2455


Why java is object oriented?

1014


What is data member in java?

1034


Explain jdk, jre and jvm?

965


What is the difference between assignment and initialization?

1043


What are different types of multitasking?

951


What is files manifesting?

2197


Can we call the constructor of a class more than once for an object?

1088


When do we need to use internal iteration? When do we need to use external iteration?

1118


What does main method?

973