How to check string palindrome using java 11

welcome to shbcf.ru