Companion Object. 如果object 的名稱和class 名稱相同,稱為Companion Object (Employee). 由於Companion Object 是要 ... 就是將參數傳給(apply) function 的意思
確定! 回上一頁