So I wanted to add a character to a string, and in some cases wanted to double that characters then add it to a string (i.e. add to it itself first). I tried this as shown b
When you do char s = 'X'; String string = X + X;
char s = 'X'; String string = X + X;
Why not do this instead? char s = 'X'; String string = s + s;
char s = 'X'; String string = s + s;