how to execute main()
Answers were Sorted based on User's Feedback
Answer / suresh royal
main() method is the JVM known method so jvm
will start the exicution from main method ,that main() method is static so no need to call
Is This Answer Correct ? | 16 Yes | 0 No |
Answer / sadikhasan palsaniya
main method is executed by JVM. User cant execute it.
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / atul
main() is execute by the jvm.if class have main()method &
class loader is load class in method area.
then Jvm call main() method;
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / karthika
By using object creation,we can execute main method.
Is This Answer Correct ? | 1 Yes | 7 No |
Can you write a java class that could be used both as an applet as well as an application?
How can you generate random numbers in java?
Can a class have a static inner class?
How many types of packages are there in Java?
What do you mean by platform independence of Java?
What are the drawbacks for singleton class?
What is visibility mode?
Can we declare main () method as non static?
What is the largest data type in java?
What is the difference between == and === javascript?
Difference between the String and StringBuffer classes?
Does a function need a return?