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.

raja
Published on 09-Feb-2018 10:52:20
Advertisements