banner

Monday, September 5, 2016

PE 3 : Program to check if a string is a palindrome or not.

Write a Java program to check if a string is a palindrome or not .  /* Remember a string is a palindrome, if it remains unchanged when ... thumbnail 1 summary

Write a Java program to check if a string is a palindrome or not
/* Remember a string is a palindrome, if it remains unchanged when reversed, for example "dad" is a palindrome as reverse of "dad" is "dad" whereas "program" is not a palindrome. Some other palindrome strings are "mom", "madam", "abcba". */

No comments

Post a Comment