A

Admin • 670.22K 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: 1
  • 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.