adspace
Answer Posted / Ajay Kumar Bhartiya
In Swift, classes are reference types with inheritance, polymorphism, and deinitializers. Structures are value types that cannot have inheritance or deinitializers but can conform to protocols. Classes are generally used for complex objects and structures for simpler data structures.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers