Home / CSE MCQs / JAVA MCQs :: Discussion

Discussion :: JAVA MCQs

  1. Which of these constructors is used to create an empty String object?
  2. A.
    String()
    B.
    String(void)
    C.
    String(0)
    D.
    None of the mentioned

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    String()


Be The First To Comment