What is an optional in swift?



What is an optional in swift?..

Answer / Utsav Srivastava

An optional in Swift is a type that can contain either a value of a specified type or nil. It allows you to represent the absence of a value.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apple iOS Swift Interview Questions

What are the characteristics of switch?

1 Answers  


What is atomic swift?

1 Answers  


What are floating point numbers? How many types of floating number are there?

1 Answers  


What is the difference between nil and none in swift?

1 Answers  


What is the latest version of swfit programming?

1 Answers  


What are the new feature in swift 4.0?

1 Answers  


What is asynchronous in swift?

1 Answers  


Does swift have abstract classes?

1 Answers  


Do swift classes inherit from nsobject?

1 Answers  


What is the meaning of question mark "?" In swift?

1 Answers  


What are the advantages of using swift?

1 Answers  


What is lazy var in swift?

1 Answers  


Categories