What is String? What is StringBuffer? what is the difference between String and StingBuffer? Can we directly manipulate String and does the changes effect to that particular object? if NOt why? If YES how can we do that?
Printable View
What is String? What is StringBuffer? what is the difference between String and StingBuffer? Can we directly manipulate String and does the changes effect to that particular object? if NOt why? If YES how can we do that?
In our geekinterview forum, we already discuss about this topic. Go through the following URL. It surely helps you.
[url]http://www.geekinterview.com/question_details/18232[/url]
--------------------
suresh
thnxxxxxxxx
thankes
hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
hai,
Strings are immutable Objects(whose content can't be modified)where as StringBuffers are Mutable Objects(whose cntent can be modified).