how to do string addition in 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;
}
}