Subject / 929 questions

Programming MCQs

Page 15 of Programming multiple-choice questions with answers. Tap an option to check yourself.

Page 15 of 47

Question 282 Java

What is the main difference between StringBuilder and StringBuffer in Java?

Correct answer D. StringBuffer methods are synchronized, StringBuilder methods are not

Open question
Advertisement
Advertisement
Advertisement
Question 299 Java

What does it mean to say that a Java String is immutable?

Correct answer A. Its character sequence cannot change after creation

Open question