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

Write a program in java to calculate the difference between the sum of the odd level and even level nodes of a binary tree.

0 Answers  


What is covariant return type?

0 Answers  


what is the use of abstract class?

3 Answers   Amdocs, Atos Origin, Invictus,


Why do we need public static void main(String args[]) method in Java...?

1 Answers  


What is the format specifier?

0 Answers  






What data type is a string?

0 Answers  


How do you declare a variable?

0 Answers  


How the elements are organized in GridLayout?

2 Answers  


What is getclass () getname () in java?

0 Answers  


What does the string method compareto () do?

0 Answers  


What is the main purpose of serialization in java?

0 Answers  


What is a variable analysis?

0 Answers  


Categories