Method Signatures
Réussis tes devoirs et examens dès maintenant avec Quizwiz!
Public
Access modifier of main method
Void
Java main method doesn't return anything, so the return type is void.
Main
Name of Java main method
String[] args
The main method accepts a single argument of type String array. It's also called the java command line arguments
Static
The method has to be static so that JVM can load the class into memory