Java Playground - Check if word is palindrome: Online Interpreter, Compiler & Editor | Sololearn