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
vkrn
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......

Thanks,
kiran.
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: 68716
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
Maybe you should post this in a Java forum and not an Oracle one.

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


Current Time: Mon Nov 25 01:13:09 CST 2024