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

Why do we use public static with the main function in Java?

Answer Posted / manya

main function is used for two purposes:-1)when you have to
write a recursion code.2)to use command line arguments

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is string thread safe in java?

1141


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

1000


How many decimal digits is 64 bit?

985


Can I learn java in 3 months?

1076


What is a literal coding?

1065


What do you mean by multithreaded program?

1061


What is temp in java?

1056


What is difference between classpath and path variables in java?

1255


What is the final class modifier?

1087


What is the map interface in java programming?

1054


What is the main method java?

1080


What means public static?

1091


What are the application of stack?

984


How to perform merge sort in java?

1118


What is scanner in java?

989