append to string in place java code example
Example: java concatenate strings
public class Concat {
String cat(String a, String b) {
a += b;
return a;
}
}
public class Concat {
String cat(String a, String b) {
a += b;
return a;
}
}