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

What is autoboxing and unboxing?

1005


How would you dynamically allocate memory to an array?

1040


How to make a read-only class in java?

1163


How does varargs work in java?

1094


Is null an object java?

990


What is the difference between multitasking and multithreading in Java

1185


What is covariant return type?

1113


What are different access specifiers in java?

1016


What is class level lock ?

1034


Which class cannot be a subclass in java?

1022


Can abstract class have private constructor?

943


Is hashmap thread safe?

991


Is void a keyword in java?

1016


What is exception handling in java?

1035


What is the static field modifier?

1128