A
Q. What will this Swift code print?
Code:
let greeting = "Hello"
print(greeting.hasPrefix("He"))
print(greeting.hasPrefix("He"))
- Correct Answer - Option(A)
- Views: 1
- Filed under category Swift (iOs)
- Hashtags:
Discusssion
Login to discuss.