adspace


How to create a constant in swift programming?

Answer Posted / Yudhbir Singh

In Swift, you can create a constant by declaring a variable and prefixing it with the keyword let. For example: let myConstant = 5.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain some biggest changes in usernotifications.

926


How can you define a base class in swift?

931


Explain the common execution states for a swift ios app (ios application lifecycle).

900