Question 1/6: Which of these lines use string interpolation?
Hint: String interpolation starts with a backslash, then contains a value inside parentheses. Click to show.
var name = "\(firstName) \(lastName)"
This uses string interpolation to create a string variable called
var versionString = "You're using v(version)"
String interpolation is written as
Oops – that's not correct.
Link copied to your pasteboard.