The method signature of a Java main
method is:
public static void main(String[] args) {
...
}
Is there a reason why this method must be static?
The method signature of a Java main
method is:
public static void main(String[] args) {
...
}
Is there a reason why this method must be static?