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 is regex used for?

962


what is the difference between process and thread? : Java thread

943


Can we create object of static class?

984


What is the use of parseint in java?

988


What restrictions are placed on method overloading in java programming?

1018


What is package protected in java?

937


What is scanner in java?

922


How to convert string to byte array and vice versa?

1043


What is the difference between inheritance and encapsulation?

1106


What is the difference between the font and fontmetrics classes in java programming?

1067


Tell us something about set interface.

966


What two classes are used to read data only?

1053


What is the use of System class?

1118


How many digits can a float hold?

968


What is * argv?

1188