Forums
Learn
Careers
Store
About
SUBSCRIBE
WWDC23 SALE: Save 50% on all my Swift books and bundles! >>
Question 1/12: This code is valid Swift – true or false?
Hint: Look closely at the parameter names: external comes first, then internal. Click to show.
func sayHello(to name: String) { print("Hello, \(name)!") }
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.