Corent Technology interview question

Java code for palindrome , reverse number