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. Thank ... for idea But
i m confuse how run

View Tutorial          By: Tanaji at 2010-06-01 23:13:19

2. Updated example to better show Thread T2 showing t
View Tutorial          By: Sanjiv at 2013-05-25 20:26:31

3. When i run the program,Iam getting this

View Tutorial          By: anitha at 2008-12-17 21:37:36

4. Thanks to the author, it was really a good tutoria
View Tutorial          By: Ashok Kumar at 2010-04-29 05:54:47

5. Great work ;)
View Tutorial          By: Rizwanulla Sharieff at 2012-08-21 04:42:41

6. Hi Sir...
sir i am working on Speech to Tex

View Tutorial          By: Sadaquat at 2012-08-19 07:51:28

7. it worked n this case but could not find some more
View Tutorial          By: abhilash koleti at 2012-09-14 16:21:58

8. hi,

i'm a jmeter user.in my test i

View Tutorial          By: mahesh at 2015-03-06 16:58:05

9. How can I send parameter to crystal report?
View Tutorial          By: Mark at 2009-10-14 03:41:36

10. nice help
View Tutorial          By: Akbar at 2014-06-11 12:44:23