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

Implementations of set interface?

1004


How do you do descending order in java?

963


Can a class extends itself in java?

1018


Is 0 a real number?

1036


Is string a class in java?

975


What do you mean by ternary operator in java?

1017


What is java abstraction with example?

1058


Can we declare a constructor as final?

1300


How to set the permissions to a file in java?

982


Which class is the superclass of all classes?

1106


What does the three dot emoji mean?

1116


Explain java coding standards for constants?

1007


What 5 doubled?

981


What is meant by object oriented programming – oop?

983


How many bits is a double?

991