Answers for "when does the main ends java"

1

main method in java

It is a keyword which is when associated with a method, makes it a class 
related method. The main() method is static so that JVM can invoke it without
instantiating the class. This also saves the unnecessary wastage of memory which
would have been used by the object declared only for calling the main() method by 
the JVM.
Posted by: Guest on January-30-2022
0

the main of java

/*testing*/
public static void main(String [] args){
	
}
Posted by: Guest on April-15-2022

Code answers related to "when does the main ends java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language