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...

Need to use public,static keywords in main function?

Answer Posted / aravinda reddy

1) Public access modifier specifies class declared can be
accesses from anywhere

2) where as static refers with out creating instance of the
class JVM should access the main class while executing.

3) void specified main function should not return any value

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is OOP's Terms with explanation?

1191


what is inner class in java?

1139


What are the fileinputstream and fileoutputstream?

1068


How is abstraction implemented in java ?

1021


How many types of parsers are there?

1019


What are peerless components?

1090


What does compareto () do in java?

1002


How do I get 64 bit java?

1118


What is a void in java?

1175


why an outer class cannot be declared as private?

4323


What is meant by vector class, dictionary class, hash table class, and property class?

1160


Explain about core java?

1126


Program to Find the second largest element in an array.

1192


Difference between this() and super() ?

1121


How can you say java is object oriented?

1076