struct Dog { let id: Int var name: String var breed: String func run() { print("RUN!") } } 咦?初始化呢? 為什麼沒跳出沒有初始化的錯誤訊息?
確定! 回上一頁