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

Under what conditions is an object’s finalize() method invoked by the garbage collector?

1029


What is the multi-catch block in java?

1023


How to sort list of list in java?

1081


What are the methods of object class ?

1047


What is a generic data type?

1025


Can a class be private?

954


Why is java so important?

1106


What is encapsulation in java?

1100


Can we make main() thread as daemon?

1088


What are the two types of streams offered by java 8?

920


What is broken and continue statement?

986


Can we extend immutable class?

973


When super keyword is used?

1007


What is the technique adopted to create an immutable class?

1101


What are the important features of Java 8 release?

1076