java string concatenation string number code example
Example: String concatenation in java
// String concatenation in java using concat() method
public class StringConcatMethodDemo
{
public static void main(String[] args)
{
String str1 = "Flower ";
String str2 = "Brackets";
String str3 = str1.concat(str2);
System.out.println(str3);
}
}