Google News
logo
Swift - Interview Questions
How would you define variables and constants in Swift programming language?
You have to declare variables and constants before using it. Constants are declared by using let keyword and variables by var keyword.
 
Example :
var freetimelearn = "Free Time Learning"  
let fees = 100 
Advertisement