What is special about string class in Java?

Java 8Object Oriented ProgrammingProgramming

The String class is immutable, so that once it is created a String object cannot be changed. If there is a necessity to make a lot of modifications to Strings of characters, then you should use String Buffer & String Builder Classes.

Updated on 30-Jul-2019 22:30:21