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!