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

How do you find the absolute value?

1060


Explain the difference between throw and throws in java?

1002


Is java still relevant?

978


Why isn’t there operator overloading?

1076


What is variable argument in java?

1004


What is the use of static methods?

1041


What is difference between Heap and Stack Memory?

1052


give an example for encapsulation?

1047


Difference between predicate, supplier and consumer ?

1060


What are thread safe functions?

950


Write a java program to generate fibonacci series ?

1071


Why is stringbuffer called mutable?

994


What is compareto?

1040


What is the difference between java applets and applications?

1158


Why string is not thread safe?

1008