結果 : write a java program to remove first and last character of a string in java