Check whether a given number is palindrome or not. A number is Prime if it is greater than 1 and divisible only by 1 and itself. Check divisibility from 2 to n/2. if divisible, it is not prime.
* Write a Java program to determine whether a given string is a palindrome. * A palindrome is a word, phrase, or sequence that reads the same backward as forward.
For my AP Comp Sci class, I needed to do a palindrome program in java. I have a string being inputed in the main() and then using the method length() of the String class to get the length of that ...