Which of the following declares a mutable array in Swift?
Correct Answer: var x = [Int]()
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
Which keyword is used in Swift when we want a property of a class to initialize when it is accessed for the first time?
Which is used for down casting?
Which of the following types can be used use as raw value types for an enumeration?
Which keyword do you use to declare enumeration?
When declaring an enumeration, multiple member values can appear on a single line, separated by which punctuation mark?
Bridging header file will not be compiled due to the following issues:
Objective-C class factory methods will change into _____ after importing to Swift
Overriding functionality is possible using extension
New initializers can be provided using extension
What is the correct way to import an Objective-C class into bridging header file?