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 / sadikhasan palsaniya

static method can call without using Object name and can
call using Class name so JVM can use main method for execute it.
so it is require static keyword in main method. without
static JVM cant run Program.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we access instance variables within static methods ?

1156


Explain about features of local inner class?

1189


What does string intern() method do?

1135


How do you write methodology?

1027


what is thread? What are the high-level thread states? Or what are the states associated in the thread? : Java thread

1047


what is a thread pool in java and why is it used?

1061


Is string thread safe in java?

1142


What is hash code collision?

1106


What are the advantages of autoboxing?

1068


What java is used for?

1122


When will we use them?

1104


Is array primitive data type in java?

1051


What do you mean by thread safe?

1027


How can you read an integer value from the keyword when the application is runtime in java? example?

1198


What is the do while loop syntax?

1088