concatenate two strings in java using loop

in this post we will see how to write a program to concatenate two strings in java using loop. there are many ways to concatenate string. concatenate two string in java using Loop output string concatenation using concat() function output