Comment on Tutorial - String Concatenation using Java By Syed Fazal



Comment Added by : krishnakumar

Comment Added at : 2009-10-19 00:35:44

Comment on Tutorial : String Concatenation using Java By Syed Fazal
string is immutable in java.String buffer is mutable.
so even though we add the symbol '+' for concatenation.
the string which supplied for concatenation is taken as a object of string buffer.
after the string buffer completes the necessary concatenation then its return the string by toString()


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. Neatly explained about the three important functio
View Tutorial          By: Jitendra Lenka at 2011-02-03 06:34:10

2. It was actually useful!!! Thanks for explaining in
View Tutorial          By: steph at 2010-01-28 21:59:06

3. hello
thanks for your code
It works

View Tutorial          By: m_karimi at 2008-10-24 12:08:06

4. Hi,
Nice example....it's a good one to impl

View Tutorial          By: Anish at 2009-07-08 00:21:16

5. Dear admin,
your Recaptcha design is not go

View Tutorial          By: surendra kumar sharma at 2013-02-02 05:58:35

6. This is very much useful to me to complete my assi
View Tutorial          By: Eva Jhonson at 2012-09-30 16:44:08

7. please correct things....and plz dont misguide
View Tutorial          By: amit verma at 2015-02-19 08:44:55

8. What's with the \ " ?
Your code doesn

View Tutorial          By: Dan at 2011-12-29 10:20:08

9. Yeah..it's very good example....
View Tutorial          By: Packiyaraj.T at 2010-07-22 22:39:48

10. If you are working with the multi-threaded program
View Tutorial          By: it career at 2010-02-24 00:13:50