Home » JAVA Programming » Strings » Question
  1. Which of the following statements are incorrect?
    1. Java defines a peer class of String, called StringBuffer, which allows string to be altered
    2. Every string is an object of class String
    3. String is a class
    4. Strings in java are mutable
    5. None of these
Correct Option: D

Strings in Java are immutable that is they can not be modified.



Your comments will be displayed only after manual approval.