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 / abhijit

public means-accessable from anywhere
static means-the point ,from where compilar can start its
compilation without object.

Is This Answer Correct ?    11 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the actions that can occur when a thread enters blocked state?

1051


When to use runnable interface vs thread class in java?

966


When can you say a graph to be a tree?

1079


What are parsing rules?

987


If you are given the name of the function at run time how will you invoke the function?

1126


What type of language is java?

993


Which is bigger double or float?

962


What is e java?

1093


Explain scope or life time of local variables in java?

1020


What is the difference between multitasking and multithreading in Java

1169


What is the use of parseint in java?

1014


Explain how to convert any java object into byte array.

961


What is parse method?

1005


Which class is used by server applications to obtain a port and listen for client requests?

960


what is the swingutilities.invokelater(runnable) method for? : Java thread

1034