Quiz 4
1. A way to define methods that can be accessed by any class.
2. A technique for ensuring code runs after a method returns.
3. Defining a protocol to only be implemented by classes.
4. A way to define a custom type that can have different associated values.
5. Used to check if an object is of a certain type.
6. A function that can throw an error.
7. A collection that uses keys to map values.
8. Defining a method that can be called on the type itself.
9. A way to ensure a property is set before use.
10. Using a closure to sort a collection.
Previous Next