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
Implementations of set interface?
How do you do descending order in java?
Can a class extends itself in java?
Is 0 a real number?
Is string a class in java?
What do you mean by ternary operator in java?
What is java abstraction with example?
Can we declare a constructor as final?
How to set the permissions to a file in java?
Which class is the superclass of all classes?
What does the three dot emoji mean?
Explain java coding standards for constants?
What 5 doubled?
What is meant by object oriented programming – oop?
How many bits is a double?