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

What is the use of static keyword in "public static void
main()"

Answer Posted / mary kamal

Static keyword is identified by jvm at the time of class loading,so main() function is the jvm known function it should be identified at the time of class loading...so hence it is named as static

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does string is thread-safe in java?

1146


Can a java program have 2 main methods?

1105


What is the size of integer?

1155


How destructors are defined in java?

1244


Explain the access modifiers for a class, method and variables?

1186


How many arguments can a method have java?

1070


What are peerless components in java programming?

1067


What is the private method modifier?

1146


What are the different approaches to implement a function to generate a random number?

1106


how to run ecllipse with jettyserver for windows environment using batch file

2152


Compare java and python.

1035


What is the final variable?

1317


What is java reflection?

1030


What is toarray method in java?

1169


What is broken and continue statement?

1064