Java program to check whether a string is a palindrome or not.
2. Accept a sentence from the user.
3. Extract each character from the sentence.
4. Reverse the String.
5. IF the string remains unchanged THEN "String is a Palindrome".
"String is NOT a Palindrome".
Enter a String : rotator
rotator is a Palindrome
★ Find the sum of Natural numbers up to a given number using Recursion
★ Calculate the Power of a number using recursion
★ Print the Initials of a name
★ Find the frequency of each character in a string
★ Arrange the letters of a word in alphabetical order