Java Program to check if a String is Palindrome or not

In this post we will go through the java string program to check if a String is Palindrome or not. We will also run the examples and corresponding output. A string is called a palindrome if the reverse of that string is same as the original string. For example: level, madam, etc. Problem : simple … Read more

Java Program to Check a Number is Palindrome or Not

In this post we will explore the basic java program to check a number is palindrome or not and explaining the concept of palindromic numbers and how the program works. Palindrome: A palindrome number is a number that remains the same when its digits are reversed. For example, 121 ,12321 are palindrome numbers, but 1234 … Read more

%d bloggers like this: