how to execute main()

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does set allows null in java?

506


Explain a situation where finally block will not be executed?

572


What is the file extension for java?

605


Can you run java program without main method?

543


What is argument in java?

538






What is the function of static in java?

539


What is array initialization in java?

488


How java is similar to c?

584


What is queue in java?

554


What is set string?

596


How many bits is a string in java?

577


What is the dot operator?

570


Which package has light weight components in java programming?

673


What is string intern in java?

550


How to convert string to char and vice versa?

515