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. ans to 23:
by using gdb(GNU deb

View Tutorial          By: Bhargav at 2011-11-02 13:23:51

2. hi,
i have tried to download the sun api fr

View Tutorial          By: raghu at 2009-01-07 05:45:33

3. Hi,

How to implement this 5 files i

View Tutorial          By: Yanosh at 2009-07-16 06:00:14

4. Hello Everyone
I used this program but i'm

View Tutorial          By: Yougeshwar Khatri at 2011-09-16 08:50:47

5. I would like to know how to obtain the object that
View Tutorial          By: Steve at 2012-01-18 15:58:31

6. I am an MCA student i wanna know whether one can s
View Tutorial          By: RAJU.K at 2009-07-24 02:28:21

7. Cordial saludo, muchas gracias por ola ayuda pero
View Tutorial          By: Hernan Camilo Martínez at 2014-04-09 20:08:17

8. Nice basics. Very helpful
View Tutorial          By: Gorav at 2011-11-11 12:46:28

9. Thanks for the code. The code runs fine without an
View Tutorial          By: aanube at 2012-08-22 10:12:54

10. Hi Mounika, The reason to the problem is that you
View Tutorial          By: Ramlak at 2008-04-26 20:06:21