結果 : java return last character of string