Home / CSE MCQs / JAVA MCQs :: Discussion

Discussion :: JAVA MCQs

  1. Which of these is an oncorrect statement?
  2. A.
    String objects are immutable, they cannot be changed.
    B.
    String object can point to some other reference of String variable.
    C.
    StringBuffer class is used to store string in a buffer for later use.
    D.
    None of the mentioned

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    StringBuffer class is used to create strings that can be modified after they are created.


Be The First To Comment