how to execute main()

Answers were Sorted based on User's Feedback



how to execute main()..

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

how to execute main()..

Answer / sadikhasan palsaniya

main method is executed by JVM. User cant execute it.

Is This Answer Correct ?    1 Yes 1 No

how to execute main()..

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

how to execute main()..

Answer / karthika

By using object creation,we can execute main method.

Is This Answer Correct ?    1 Yes 7 No

Post New Answer

More Core Java Interview Questions

Can you write a java class that could be used both as an applet as well as an application?

0 Answers  


How can you generate random numbers in java?

0 Answers  


Can a class have a static inner class?

0 Answers  


How many types of packages are there in Java?

5 Answers  


What do you mean by platform independence of Java?

0 Answers  






What are the drawbacks for singleton class?

0 Answers  


What is visibility mode?

0 Answers  


Can we declare main () method as non static?

0 Answers  


What is the largest data type in java?

0 Answers  


What is the difference between == and === javascript?

0 Answers  


Difference between the String and StringBuffer classes?

3 Answers  


Does a function need a return?

0 Answers  


Categories