A

Admin • 833K Points
Coach

Q. Which keyword is used to define a protocol in Swift?

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

Explanation by: Admin

In Swift, `protocol` defines a blueprint of methods and properties.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.