Swift Developer Question:

Explain me what do you mean by the term “defer”?

Tweet Share WhatsApp

Answer:

The term “defer” is a keyword that provides a block of code that executes when the execution is leaving the current scope.

Download Swift Developer PDF Read All 39 Swift Developer Questions
Previous QuestionNext Question
Tell us the difference between not-running, inactive, active, background and suspended execution states?Tell me what is Enum?