Forums
Learn
Careers
Store
About
SUBSCRIBE
BLACK FRIDAY: Save 50% on all my Swift books and bundles! >>
Question 1/12: This code is valid Swift – true or false?
Hint: Static properties and methods must be called on the struct that owns them, rather than on instances of that struct. Click to show.
struct Amplifier { static let maximumVolume = 11 var currentVolume: Int }
Correct! This code is valid Swift.
Oops – that's not correct. This code is valid Swift.
Return to Review Menu
You are not logged in
Link copied to your pasteboard.