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 thread? What are the high-level thread states? Or what are the states associated in the thread? : Java thread

0 Answers  


What is consumer in java?

0 Answers  


Why is stringbuffer not immutable?

0 Answers  


How can the checkbox class be used to create a radio button?

0 Answers  


What is the maximum size of array in java?

0 Answers  


What is a void in java?

0 Answers  


Can you explain the Java thread lifecycle?

1 Answers  


What is equlas() and hashcode() contract in java? Where does it used?

0 Answers  


What happens when the main() isn't declared as static?

1 Answers  


why java main method is given as static method?

2 Answers  


What is the difference between an interface and an abstract class?

0 Answers   Cyient,


What is a line separator in java?

0 Answers  


Categories