結果 : java program to perform string operations using arraylist