結果 : java program to check palindrome string using stack queue for and while loop