String,String Buffer and String Builder in JAVA

String, String Buffer and String Builder in JAVA:- String:- String is predefined final class present in the default package. As string is a final class it cannot be inherited. String is purely immutable(contents cannot be changed) in nature that contents of the string cannot be changed once it assigns. How string is immutable? PROGRAM:- class […]