Question 140

Which Java class creates a mutable sequence of characters?

  1. AStringBuilder
  2. BMath
  3. CString
  4. DCharacter
Show answerHide answer

Correct answer: (A) StringBuilder

Explanation

String objects are immutable.

From DSSSB TGT Computer Science Full Mock Test 3

This is question 140 of DSSSB TGT Computer Science Full Mock Test 3. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.