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

How do you define a method?

923


What is the difference between the ">>" and " >>>" operators in java?

927


What is constructor and its types?

1057


Is there any sort function in java?

993


What is toarray method in java?

1027


Explain a situation where finally block will not be executed?

970


How do you create an array in java?

939


What is hashmap in java?

1018


Write a program to print fibonacci series

1073


What is the purpose of assert keyword used in jdk1.4.x?

1008


What is the maximum length of a url?

887


What does i ++ mean in Java?

888


How do you clear an arraylist in java?

935


What is lazy initialization in java?

938


Which containers use a flowlayout as their default layout in java programming?

938