I have small doubt..hope you guys will not mind to answer it.
Can I now why String classes are immutable ? what is the exact rational behind it? if we have StringBuffer which provides more functionality then String class then why we are not obsulating String class? what is the need of String class in latest java version?