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 meaning of immutable regarding string?

0 Answers  


Which characters are allowed to use as the second character of an identifier, and which characters are not allowed?

2 Answers  


Why wait(),notify(),notifyAll() methods defined in Object class althought we are using in only threads.

0 Answers   Mphasis,


what is run time polymorphism

4 Answers  


What is java algorithm?

0 Answers  


Why java is call by value?

0 Answers  


What are encapsulation, inheritance and polymorphism?

0 Answers  


When will you define a method as static?

0 Answers  


A non-static inner class may have object instances that are associated with instances of the class’s outer class. A static inner class does not have any object instances.

0 Answers  


Why are the methods of the math class static?

0 Answers  


Is multiple inheritance allowed in Java? Why ?

7 Answers  


What is heterogeneous in java?

0 Answers  


Categories