A

Admin • 670.22K Points
Coach

Q. How do you write a comment that spans multiple lines in Swift?

  • (A) // comment
  • (B) /* comment */
  • (C) # comment
  • (D) -- comment
  • Correct Answer - Option(B)
  • Views: 1
  • Filed under category Swift (iOs)
  • Hashtags:

Explanation by: Admin
`/* ... */` is used for multiline comments in Swift.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.