string java add code example Example: add one character to string java char ch='A'; String str="pple"; str= ch+str; // str will change to "Apple"