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 / s. devanand

In Java, we call any method and variable without creating an
object of the class. Hence we declare main method as static
without creating an object we call the main method.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is more secure: java or activex? : java security

919


What is meant by code profiling?

974


What do you mean by exception handling?

888


Which is faster c++ or java?

918


What's the difference between authentication and authorization? : java security

976


What is jpa project?

871


How do I know if I have jre or jdk?

888


What is the difference between ec2 and lambda?

882


Explain main thread under thread class execution?

891


Is jdk a compiler?

838


What is dto in java?

895


What is use of jpa?

845


How common are security breaches? : java security

959


What is cookie in java?

866


What is mq in java?

882