Sail E0 Webinar
Question
What are the characteristics of Switch in Swift?
Options:
A .  It supports any kind of data, and not only synchronize but also checks for equality
B .  When a case is matched in switch, the program exists from the switch case and does not continue checking next cases. So you don't need to explicitly break out the switch at the end of case
C .  Switch statement must be exhaustive, which means that you have to cover all possible values for your variable
D .  All of the above
Answer: Option D





Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers