結果 : how to declare string method in java