Number Palindrome in Java

Here you will learn about number palindrome in java.

A number is called palindrome if it is equal to its reverse.

For example 1221 is a palindrome while 1234 is not palindrome.

Below I have shared the java program to check given number is palindrome or not.

Also Read: String Palindrome in Java

 

Program for Number Palindrome in Java

 

Output

Java program to check whether a given number is palindrome or not

One thought on “Number Palindrome in Java

  1. Aditya singh

    ”Are yaar bina matlab ka lines mat dala karo isse hum logo ko smajhne mein bahut dikkat hota hai” this means that please do not add extra lines in the source code be straight forward and write comments in code !!!

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *