A

Admin • 670.22K Points
Coach

Q. What type of value does `Bool.random()` return?

  • (A) true
  • (B) false
  • (C) Random Bool value
  • (D) Int
  • Correct Answer - Option(C)
  • Views: 1
  • Filed under category Swift (iOs)
  • Hashtags:

Explanation by: Admin
`Bool.random()` returns either true or false randomly.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.