To declare a failable initializer that produces an optional instance, append a question mark to the init keyword in the initializer declaration (init?)
確定! 回上一頁