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...

in a console we r giving java <class name> if r pressing
enter where it'll goes

Answer Posted / srujan jack

it transfers the class name to JVM then the JVM calls main() method using class name.
there fore the main() method must be declared with public & static.....

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does 0 mean in boolean?

936


Give few difference between constructor and method?

922


What is ‘is-a ‘ relationship in java?

979


How does remove work in java?

913


How many bytes are there?

954


Can you declare a private method as static?

1104


What are some characteristics of interference class?

957


how do I create a runnable with inheritance? : Java thread

945


How will you load a specific locale?

933


What is the use of object and class classes?

1003


Why java is object oriented?

970


How to sort elements in a parallel array in java?

848


What is super?

1065


What is += mean in java?

960


What language is an assembler written in?

951