String str = "abc";
if ( 条件式 ) {
str = str + "a";
} else {
str = str + "b";
}

こういう場合はStringBuffer or StringBuilder使った方がいいよね?