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
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 |
What are the characteristics of Final,Finally and Finalize keywords.
Is linkedlist thread safe in java?
What is the main function in java?
How to access arraylist elements in java?
What will happen to the exception object after exception handling?
Write down program for following scenario. Use java coding standard. You have array list with some words in it..we will call it as dictionary….and you have a arbitrary string containing some chars in it. You have to go through each word of dictionary and find out if that word can be constructed with the help of chars from arbitrary string given. If you find the word print it else print none.
Explain the usage of this with constructors?
What is the statements?
What is difference between java and java ee?
what are literals in java?
What class is used to implement a Throwable array?
what are three ways in which a thread can enter the waiting state? Or what are different ways in which a thread can enter the waiting state? : Java thread