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: 64140
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.

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


Current Time: Fri Dec 09 07:59:28 CST 2016

Total time taken to generate the page: 0.07082 seconds