Check if String is Palindrome in Java using Recursion

preview_player
Показать описание
Check whether a given String is palindrome or not. Program is simple, and here are steps to find palindrome String : 1) Reverse the given String 2) Check if the reverse of String is equal to itself; if yes, then given String is a palindrome.
Note
A String is said to be a palindrome if the reverse of String is equal to itself like "aba" is a palindrome because the opposite of "aba" is also "aba", but "abc" is not a palindrome because the reverse of "abc" is "cba" which is not equal.
#java , #palindrome
Рекомендации по теме