Answers for "wap to check given no is prime palindrome or not in java"

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 "wap to check given no is prime palindrome or not in java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language