Beginner
Swift
Q7 / 100
What is a protocol in Swift?
Correct! Well done.
Incorrect.
The correct answer is B) A blueprint of methods, properties, and requirements that types can adopt
B
Correct Answer
A blueprint of methods, properties, and requirements that types can adopt
Explanation
Protocols define contracts like Java interfaces. Classes, structs, and enums can all conform to protocols.
Progress
7/100