var myName: Int = "John Doe"
print(myName)
The output will be
Correct Answer: Compile-time error
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Swift Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Swift MCQ Questions
The following are collection types in Swift
enumerated() function iterates by __
What is the correct way to import an Objective-C class into bridging header file?
New initializers can be provided using extension
Overriding functionality is possible using extension
What is used in Swift to represent any kind of object?
How do closures capture references to variables by default ?
When declaring an enumeration, multiple member values can appear on a single line, separated by which punctuation mark?
Which keyword do you use to declare enumeration?
Which of the following types can be used use as raw value types for an enumeration?