A
Q. What will this code print?
Code:
let optionalName: String? = "Swift"
if let name = optionalName {
print(name) }
if let name = optionalName {
print(name) }
- Correct Answer - Option(A)
- Views: 1
- Filed under category Swift (iOs)
- Hashtags:
Discusssion
Login to discuss.