-
Which of the following statements are incorrect?
-
- Java defines a peer class of String, called StringBuffer, which allows string to be altered
- Every string is an object of class String
- String is a class
- Strings in java are mutable
- None of these
Correct Option: D
Strings in Java are immutable that is they can not be modified.