What it's the difference? Which it's better?
String str = new String( "Hola" );
str = str.concat(" Mundo" );
System.out.println( str );
vs
StringBuffered str=new StringBuffered("Hola")
str.append( " Mundo" );
System.out.println( str );
(jdk 1.6)
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---