R

Ravina • 3.96K Points
Extraordinary

Q. Which Swift keyword is used to inherit from another class?

  • (A) :
  • (B) inherits
  • (C) extends
  • (D) ->
  • Correct Answer - Option(A)
  • Views: 22
  • Filed under category Swift (iOs)
  • Hashtags:

Explanation by: Ravina

`:` is used in Swift for both protocol conformance and class inheritance.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.