Say I have a String type variable and I want to concatenate a blank space, I could use: String word = aWord + " "; or: String word = aWord + ' ';
My question is what is the benefit of using a char space. I would guess it has to do with char being a primitive type variable and String a reference variable? therefore using more memory? and if the program is going to use the concatenated word multiple times this makes a difference?