結果 : how to create string method in java