From my knowledge, I know I can use concat() in such manner:
String str = "to";
System.out.println(str.concat("gether")
Which returns together.
But isn't that just like saying str + "gether"?
Why make a method for it when you can just use + to join Strings together?
Does it serve any other purpose?