A

Admin • 828.03K Points
Coach

Q. What is the data type of `true` in Swift?

  • (A) Int
  • (B) Bool
  • (C) String
  • (D) Character
  • Correct Answer - Option(B)
  • Views: 16
  • Filed under category Swift (iOs)
  • Hashtags:

Explanation by: Admin
`true` and `false` are boolean literals in Swift.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.