A
Q. What will the following code print?
Code:
let list = ["a", "b", "c"]
if list.contains("b") {
print("Found") }
if list.contains("b") {
print("Found") }
- Correct Answer - Option(B)
- Views: 1
- Filed under category Swift (iOs)
- Hashtags:
Discusssion
Login to discuss.