Forums
Learn
Careers
Store
About
SUBSCRIBE
TEAM LICENSES: Save money and learn new skills through a Hacking with Swift+ team license >>
Question 1/6: Which of these lines create Booleans?
Hint: Booleans are any value that contain true or false. Click to show.
Option 1:
var animated = false
This creates a Boolean with the name animated.
animated
Option 2:
var isLoaded = 1
This creates an integer.
Correct!
Oops – that's not correct.
Return to Review Menu
You are not logged in
Link copied to your pasteboard.