A

Admin • 828.03K Points
Coach

Q. Which keyword is used to declare a computed property?

  • (A) get
  • (B) return
  • (C) computed
  • (D) var with a body
  • Correct Answer - Option(D)
  • Views: 10
  • Filed under category Swift (iOs)
  • Hashtags:

Explanation by: Admin
A computed property is declared using `var` with a body that returns a value.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.