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 can we find the actual size of an object on the heap?

1355


What are the important features of Java 8 release?

1138


What is constant in programming?

1180


What is synchronization and why is it important in java programming?

989


Why we use methods in java?

1046


What does singleton class mean?

1031


Where is const variable stored?

987


What is not object oriented programming?

993


What is jar?

1174


What is a conditional statement explain with example?

1064


Can we have multiple classes in single file ?

1113


How will you reverse a link list without using recursion?

1082


How do you sort in descending order in java using collections sort?

965


Can we call thread start () twice?

1012


Which methods are used during serialization and deserialization process?

1040