Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Use of String Vs StringBuffer in multi-threading

807603Feb 15 2008 — edited Feb 15 2008
Hi ,
Can anyone please tell me which is better to use in multi-threaded program String or StringBuffer.
Currently i am using StringBuffer in my program. I am facing problem in my program and i am not sure if use of StringBuffer is the cause for that.

Any advise would be of great help.

thanks in advance
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 14 2008
Added on Feb 15 2008
10 comments
537 views