Question:

What output will be produced by the code below?

let names = ["Serenity", "Sulaco", "Enterprise", "Galactica"]

for name in names where name.hasPrefix("S") {
    print(name)
}

Answers:


Keywords:

© 2017 QuizBucket.org