add string to itself 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;
}
}