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 need to declare main() method as static in Java?

Answer Posted / shadab alam

static keyword specifies that there is no need of instance
to call static method and it's information is contained by
JVM that calls the static method.That's why we declare main
method as static so that it can be called automaticlly.

Is This Answer Correct ?    58 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is type_scroll_insensitive in java?

923


What is orm in java?

913


Do I need jdk or jre?

849


What is javabeans api?

896


What is log4j in java?

910


Is java secure? : java security

1031


How do you find lambda?

884


Which is best framework in java?

959


What is ui framework in java?

902


Explain different way of using thread?

1025


What is stateless in java?

1008


Is jar an executable?

883


In hibernate what is the difference between the Session and SessionFactory?

946


Explain daemon thread.

986


For each of the following program segments,give a big zero analysis for the running time 1.For (i=0;i

1941