I have a code that is:
String str = "hi";
String[] strArray = new String[5];
for(int c = 0;c < 5;c++){
str += strArray[c];
}
Although with 5 strings I can do one by one? but what if there are 50, or even 5 hundred? This type of += gave me an error, so how do I add up all the strings in the array properly?