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