Loading…

Can you make a property optional?

You can make a property optional by declaring a question mark “?” in the code. If a property does not hold any value, then this symbol “?” can help in avoiding runtime errors.

Suggest An Answer

No suggestions avaliable!

Latest post from Swift Interview Questions

Ask Question