A

Admin • 832.27K Points
Coach

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

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

Explanation by: Admin

Swift uses `:` to denote inheritance when defining a subclass.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.