在Java中,我們會把函式稱作方法(method) 所以我們一般會把 public static void main(String[] args) { }. 稱作主要方法或是main方法. 以下是幾個方法的範例
確定! 回上一頁