Java 允許2個以上同名Method,只需要Signature(傳遞參數個數+資料型態)不同即可,稱為過載(Overload) // 成員方法(1): 設定日期資料public void setDate(int d, ...
確定! 回上一頁