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. Very good explanation . I was very confuse but rea
View Tutorial          By: Shahabaj at 2010-08-10 08:58:39

2. my host is 202.148.202.3.Could not connect to SMT
View Tutorial          By: Anbuselvam at 2012-05-04 04:52:17

3. Please don't use DataInputStream to read text. Unf
View Tutorial          By: Peter Lawrey at 2013-01-30 23:46:47

4. Thanks for the above description, but pls let me k
View Tutorial          By: Amit Goyal at 2009-09-25 05:33:10

5. Thanks for the information.
View Tutorial          By: Appala Naidu at 2012-02-10 09:11:29

6. Hii.... We are B.Tech 4th year students. We are wo
View Tutorial          By: Shipra Malik at 2010-08-17 03:32:34

7. It won't work for me ;S
View Tutorial          By: jordi at 2011-01-21 08:22:45

8. Hi Shweta, Thanks for pointing the typo error in t
View Tutorial          By: Jagan at 2008-07-12 21:36:46

9. Good hello world to start with struts2 provided yo
View Tutorial          By: Boby Thomas at 2009-04-01 22:25:03

10. i need a J2me PIM for accessing phone contact... <
View Tutorial          By: shafique at 2011-06-28 04:11:55