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

What is finally in exception handling?

7 Answers  


How to send a request to garbage collector?

4 Answers  


Is it safe for adding 10,00,000 records/objects to HashMap?, i.e is it safe to add millions of objects to HashMap?

2 Answers  


Can java program run without jre?

0 Answers  


How multi processing is achieved in JAVA?

5 Answers   BMC,






What is a compilation unit?

2 Answers  


which one is performance wise advantageious from List,Set,Map?

6 Answers  


What is an association?

0 Answers  


Can we catch more than one exception in single catch block?

0 Answers  


How do you achieve singleton?

0 Answers  


Explain features of interfaces in java?

0 Answers  


What is api data?

0 Answers  


Categories