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 / sreenu karampudi

public static void main(String args[])

When the class get loaded, it will execute the static main
() method. void as it does not return anything.

Is This Answer Correct ?    15 Yes 49 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does collectionutils isempty check for null?

1478


How can you set an applet’s height and width as a percentage?

976


What is the java project architecture?

2290


Name few java util classes introduced with java 8 ?

963


Can a class be final?

988


What is a null class?

1030


Is java call by value?

1134


What do you mean by stream pipelining in java 8?

1284


What is difference between iterator access and index access?

1109


What are the loops in java?

1022


What is the difference between hashmap and hashtable? What is an interface?

1231


What is difference between final and finally in java?

1145


What is private static in java?

1091


What is flag in python?

1081


Explain about the select method with an example?

1230