how to execute main()

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does a for loop work java?

540


What do you understand by access specifiers in Java?

586


Why are constructors used?

557


How do you initialize an arraylist in java?

511


what are the disadvantages of indexes in oracle?

1865






Why do people says “java is robust”?

558


Is 0 an irrational number?

602


Why does my function print none?

518


What does business logic mean?

505


What is length in java?

570


Explain the difference between an Interface and an Abstract class?

626


What is java dot?

493


What is a concrete classes? Is Java object class is concrete class?

518


Print Vertical traversal of a Binary Tree.

605


What is the difference between a checked and an unchecked exception?

550