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

public is used so that it can be called easily from outside
the scope of function.Static is used so that it can be
easily called without using its object.

Is This Answer Correct ?    37 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are arrays immutable in java?

1085


Differentiate storage classes on the basis of their scope?

1171


How can the checkbox class be used to create a radio button?

1037


Are static members inherited to sub classes?

1140


What is string english?

1017


What is type parameter in java?

957


What is boolean keyword in java?

1129


Why do we need hashmap in java?

1116


Why is java called java?

1050


Is arraylist ordered?

1073


What is meant by class?

1005


How is the marker interface used in Java?

1100


what is comparable and comparator interface?

996


What is sortedmap in java?

1031


Is empty .java file name a valid source file name?

1122