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
What does math floor () do?
Explain what is encapsulation?
What are desktop procedures?
What is the difference between hashmap and hashtable? What is an interface?
What is the maximum size of array in java?
How many characters is 16 bytes?
How do you escape a string?
What is meant by the value of a variable?
When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?
Are variables stored in ram?
What is variable and its types?
What is a line separator in java?
Why parameters should be passed by reference?
What is the final variable?
what is predefined function in java?