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

What does sizeof return?

940


What is jdbc api?

966


What is the r character?

982


Can java run on google chrome?

1153


Does set allows null in java?

914


What is tochararray in java?

883


What comes to mind when someone mentions a shallow copy in java?

1068


Can a constructor call the constructor of parent class?

982


what do you mean by java annotations?

1061


What is meant by collection in java?

1017


Tell me about different OOPS concepts.

960


What is the formula to calculate percentage?

971


Write the algorithm to check the number non-leaf nodes in a tree.

1019


How is garbage collection controlled?

1124


How does hashmap work in java ?

990