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

What is the list interface in java programming?

768


Does hashset allow duplicates in java?

790


What is ternary operator? Give an example.

783


Can we override data members in java?

858


Explain the difference between an Interface and an Abstract class?

845


What is method reference in java?

795


What are the main uses of the super keyword?

731


What is an inner class in java?

701


What does the exclamation mark mean in java?

879


Can a constructor be made final?

864


What is hotjava?

729


java program with complete 4 oops concepts implemented example

2914


Can a static block throw exception?

833


Can list contain null in java?

859


Does .length start 0 java?

738