在Java中是否可以将单个字符附加到数组
或字符串
的末尾。例如:
private static void /*methodName*/ () {
String character = "a"
String otherString = "helen";
//this is where i need help, i would like to make the otherString become
// helena, is there a way to do this?
}
otherString + character
来使用语言的内置字符串连接机制。 - fge