optional的常數不會預設初始為nil

optional的變數預設初始為nil

optional的常數不會預設初始為nil

let age1: Int?
age1 = 18
var age2: Int?
age2 = 18

results matching ""

    No results matching ""