how can you say String objects are immutable and Stringbuffers are mutable
807603Jan 2 2008 — edited Jan 2 2008suppose
String s1="ABCDEF";
s1="PQRST";
System.out.println(s1); it prints the PQRST
but here the sting object s1 is replaced with PQRST insted of that ABCDEF