Programming Tutorials

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