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...

What is the return type of a program?s main() method?

Answer Posted / ashokmail

by default it is void and return null.
if return type is int , it returns 0 or 1 depends on the
program execution .

Is This Answer Correct ?    3 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you create a reference in java?

981


What are the restriction imposed on a static method or a static block of code?

1060


Write a regular expression to validate a password. A password must start with an alphabet and followed by alphanumeric characters; its length must be in between 8 to 20.

1035


What is variable and constant explain with example?

1097


What are the differences between throw and throws?

1073


How do you start a thread?

1039


Which class cannot be a subclass in java?

1022


Is treeset sorted in java?

991


What is bubble sorting in java?

1045


What is the platform?

1002


What are the types of strings?

1035


What is hashtable and explain features of hashtable?

989


What is locale in java?

1020


What are heterogeneous objects?

1048


Can you write a java class that could be used both as an applet as well as an application?

962