Answers for "nirmal wants to know the palindrome numbers between the given range of numbers. help him by writing a java program to find the palindrome numbers."

0

integer palindrome in java

public boolean isPalindrome(int x) {
        String str = Integer.toString(x);
        String reverse =  new StringBuilder(str).reverse().toString();
        return  str.equals(reverse)?true:false;
     }
Posted by: Guest on April-26-2021
0

integer palindrome in java

public boolean isPalindrome(int x) {
        String str = Integer.toString(x);
        String reverse =  new StringBuilder(str).reverse().toString();
        return  str.equals(reverse)?true:false;}
Posted by: Guest on April-26-2021

Code answers related to "nirmal wants to know the palindrome numbers between the given range of numbers. help him by writing a java program to find the palindrome numbers."

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language