what is the advantage of string object as compared to string literal
<p>i want to know where to use string object(in which scenario in my java code). 
ok i understood the diff btwn string literal and string object, but i want to know that since java has given us the power to make string object, there must be some reason, at some point string object creation would be useful. so i want to know in which scenario can we prefer string object in place of string literal.</p>
