string join method in java code example Example: join strings in java String a = "Hello"; String b = " World"; String c = a+b;