Mobile Development Swift Mcq
Oct 04, 2025

What is the difference between a class and a struct in Swift?

Choose the correct answer:
A) Classes are value types, structs are reference types
B) Classes are reference types, structs are value types
C) No difference
D) Classes cannot have methods
Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback