Problem Statement
Which statement about classes in Swift is true?
Explanation
In Swift, classes are reference types — assigning a class instance to a new variable passes a reference, not a copy. The language uses Automatic Reference Counting (ARC) to manage memory for class instances.
Practice Sets
This question appears in the following practice sets: