R

Ravina • 3.96K Points
Extraordinary

Q. Which keyword is used to mark a class available only for subclassing within the module?

  • (A) public
  • (B) open
  • (C) internal
  • (D) private
  • Correct Answer - Option(A)
  • Views: 27
  • Filed under category Swift (iOs)
  • Hashtags:

Explanation by: Ravina

`public` allows access across modules but restricts subclassing. `open` allows subclassing too.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.