When the below code finishes execution, how many strings will the names array contain ?

let names = [String]()
names.append("Annie")
names.append("John")
names.append("Derik")

0
Code will compile but not run
3
Code will not compile
Verified Answer
Correct Option - d

To get all Infosys Certified iOS Swift App Developer Exam questions Join Telegram Group https://grateful.prepflix.in/infy-lex-pdfs

Telegram