Home » Developer & Programmer » JDeveloper, Java & XML » 'String' vs 'StringBuffer'
icon9.gif  'String' vs 'StringBuffer' [message #307515] Wed, 19 March 2008 01:10 Go to next message
Messages: 18
Registered: March 2008
Junior Member
Hi all,

Generally, in strings we use concatenation operator('+') to append strings.In StringBuffer we use append() method.but in terms of performance which is preferrable(i have gone thru several articles but some are saying strings are better and some prefer stringbuffer) Confused .can any one give me clear idea......

Re: 'String' vs 'StringBuffer' [message #307521 is a reply to message #307515] Wed, 19 March 2008 01:15 Go to previous message
Michel Cadot
Messages: 68658
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Maybe you should post this in a Java forum and not an Oracle one.

Previous Topic: Compatible JDBC driver for Oracle
Next Topic: Urgent , Need help
Goto Forum:

Current Time: Sun May 26 00:13:05 CDT 2024