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 / juhi

If main method is static it should not be able to access any
other methods(other than static methods). but this is not
the case y?

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which class is the superclass of every class?

950


Where are group policies stored? : java security

794


explain isalive() method under thread class?

957


What is predicate in lambda expression?

778


Can the main method be declared final?

962


What are the differences between java’s old java date api and java 8’s date and time api?

971


What if I do not provide the string array as the argument to the method?

864


What is meant by java se?

892


What's the difference between code-based security and role-based security? Which one is better? : java security

860


In system.out.println(), what is system, out and println?

957


How do I find jre version?

864


how can we create the ui using netbeans,having the code?

2025


Do I need jdk or jre?

817


Does jvm maintain a cache by itself? Does the jvm allocate objects in heap? Is this the os heap or the heap maintained by the jvm? Why

837


What is java lang noclassdeffounderror?

861