Explain how you define variables in Swift language?
Answer / iosraj
Variables and constants must be declared before they are used. You announce constants with the let keyword and variables with the var keyword. Both variables and dictionaries are described using brackets. For example,
Var Guru99 = “This is Guru99”
Let ksomeconstant = 30
Is This Answer Correct ? | 1 Yes | 0 No |
Mention what is the difference between Swift and ‘Objective-C’ language?
What is “defer”?
How to write a multiple line comment in swift?
What are the half open range operators in swift?
Explain mvc structure.
How proficient are you in objective-c and swift? Can you briefly describe their differences?
Is swift open source?
Explain the difference between let and var in swift programming?
What is difference between 'let' and 'var' declaration ?
How should errors be handled in swift?
What language is similar to swift?
What type of objects are basic data types in swift?