結果 : write java code to reverse a string and perform array manipulation