1. In Apple Swift, which of the following statements is incorrect regarding a Switch statement?
2. Deallocation never happens due to ___
3. enumerated() function iterates by __
4. var tools: Set = ['Screwdriver', 'Pliers', 'Screwdriver'] var tools: Set = ['Screwdriver', 'Pliers', 'Screwdriver'] Which is correct?
5. What is this code an example of? let val = 5; print("value is: \(val)")
Swift MCQs | Topic-wise