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

What is the console in java?

1207


Explain about abstract classes in java?

1088


Can I learn java in 3 months?

1076


What are different types of arrays?

1052


Why does the integer quotient -0/3 yield 0, but the double quotient -0.0/3.0 yields – 0.0?

1107


What is == and === in javascript?

1104


How do you implement polymorphism in our day to day life?

3284


What are java threads?

1170


What is an enumeration?

1120


What is the difference between an inner class and a sub-class?

1064


What are the classes of java?

1017


What are scalar data types?

1125


Define an enumeration?

1095


How are destructors defined in java?

1087


What is thread safe java?

974