Forums
Learn
Careers
Store
About
SUBSCRIBE
NEW: My new book Pro SwiftUI is out now – level up your SwiftUI skills today! >>
Question 1/6: Which of these lines create arrays?
Hint: Arrays start and end with brackets, e.g. [1, 2, 3, 4, 5]. Click to show.
[1, 2, 3, 4, 5]
Option 1:
let height = "14.0"
This creates a string.
Option 2:
var temperatures = [32.0]
This creates an array of one double.
Correct!
Oops – that's not correct.
Return to Review Menu
You are not logged in
Link copied to your pasteboard.