Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Does JVM create object of Main class (the class with main())?

“No”. We have studied that the reason for main() static in Java is to make sure that the main() can be called without any instance.
 
PREVIOUS NEXT
Tagged: #Does #JVM #create #object #Main #class #class
ADD COMMENT
Topic
Name
5+8 =