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 is the argument type of main() method?
What is binary tree in java?
how to make the double-tone class ? as we have singletone class..?
Can we increase array size dynamically in java?
Difference between object and reference?
How many decimal places is a double?
Which of these methods belong to Thread & Object class? join, yield, sleep, wait, notify
Explain Global variables in Packages?
What is the difference(or similarity if there are some) between object and a variable?
What is the difference between I ++ and ++ I in java?
Who developed JScript language?
diff between abstract methods and interfaces with programing (code) example?