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
How is it possible for two string objects with identical values not to be equal under the == operator?
What is a pattern what is an anti pattern?
Explain the difference between a Thread and a Process.
What do you mean by chromounits in java8?
How do you get length in java?
What do negative exponents mean?
What is the gregoriancalendar class in java programming?
5 Coding best practices you learned in java?
Explain differences between collection api and stream api?
Why is an interface be able to extend more than one interface but a class can’t extend more than one class?
What is array initialization in java?
What is final modifier?
How to change the priority of thread or how to set the priority of thread?
What do you understand by Header linked List?
What is parsing and its types?