String concat example

Concat method of String in java is used to add a new String at the end of the original String.

String concat example

Output

Reference

1. String API

It's only fair to share...Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn