Q) Write a Java Program to find whether a string or number is palindrome or not?

preview_player
Показать описание
Q) Write a Java Program to find whether a string or number is palindrome or not?

You can use any of the reverse string program to check whether the number or string is palindrome or not.

public boolean isPalindrome(int n){

// write a code here...
}

public boolean isPalindrome(String n){

// write a code here...
}

#interview #java #code #palindrome #programming #program #number #string #strings #interviews
Рекомендации по теме
join shbcf.ru