A

Admin • 833K Points
Coach

Q. Which keyword defines a protocol in Swift?

  • (A) interface
  • (B) contract
  • (C) protocol
  • (D) abstract
  • Correct Answer - Option(C)
  • Views: 33
  • Filed under category Swift (iOs)
  • Hashtags:

Explanation by: Admin

`protocol` is used to declare a protocol, similar to interfaces in other languages.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.