Why is the Java main method static?

前端 未结 30 2640
离开以前
离开以前 2020-11-22 01:41

The method signature of a Java main() method is:

public static void main(String[] args){
    ...
}

Is the

30条回答
提交回复
热议问题