Home / CSE MCQs / Swift :: Discussion

Discussion :: Swift

  1. Given : var stringValue:String = "Justin Gif. What is the result of stringValue = nil?
  2. A.
    stringValue == nil
    B.
    stringValue == Justin Gif"
    C.
    the compiler won't allow it
    D.
    None

    View Answer

    Workspace

    Answer : Option C

    Explanation :



Be The First To Comment