how to concat multiple strings java code example Example: multiple string java String string = string.repeat(repeatTime);