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 are the authentication modes in asp.net? : java security

1025


Is jdk required for netbeans?

954


Explain different way of using thread?

1086


How do I know if I have jre or jdk?

950


Is it correct to say that using parentheses can only change?

964


Is php faster than java?

935


What is aop in java?

937


What is @override annotation in java?

1049


What is a stream in programming?

913


What is custom tag in java?

959


What is the meaning of loosely coupled in java?

937


What is the difference between swing and awt components?

1159


Do I need to install jre if I have jdk?

934


What is java web application?

933


explain how java se 8 data and time api solves issues of old java date api?

1012