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

Answers were Sorted based on User's Feedback



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

Answer / sai

It'll goes to the JVM and then executes..

Is This Answer Correct ?    8 Yes 1 No

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

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

More Core Java Interview Questions

What is the Difference between Final Class && Abstract Class?

0 Answers   HCL,


When is the garbage collection used in Java?

0 Answers   BirlaSoft,


How can I debug the Java security exceptions and AccessControlExceptions?

0 Answers   IBM,


why should we get the following error ? Exception in main method NoClassDefFoundError:classname could anyone give the detail clarification on how java compiler can look for .class file?

2 Answers  


Why is flag used in java?

0 Answers  


What is called module?

0 Answers  


What is the latest java version?

0 Answers  


Can we assign integer value to char in java?

0 Answers  


What are "methods" and "fields"?

0 Answers   Wipro,


What are the different ways of implementing thread? Which one is more advantageous?

0 Answers  


Can we have two main methods in a java class?

0 Answers  


What is percentage in java?

0 Answers  


Categories