### Bluej program-read a string and check if the given string is a palindrome?

import java.util.Scanner; public class Palindrome{ public static void main(String[] args){ String front; String back =""; char[] failure; String backwards; Scanner input=new Scanner(System.in); System.out.print("Enter a word: "); front=input.next(); front=front.replaceAll(" ", ""); failure=front.toCharArray(); for (int i=0; i<failure.length; i++){ back=failure[i] + back; } if (front.equals(back)){ System.out.print("That word is a palindrome"); }else System.out.print("That word is not a palindrome"); }}

### Is 107541 a palindrome?

No. A palindrome reads the same backwards and forwards. 5791111975 is an example of a palindrome.

### Which 4 digit number is always a palindrome?

Any number that is is a palindrome will always be a palindrome.

### Why is 8.48 is not a palindrome?

A palindrome reads the same backwards, 8.48 backwards is 84.8 as they are not the same is can not be a palindrome.

### 1961 next palindrome?

The palindrome that comes before 1961 is 1881, and the palindrome that comes after 1961 is 1991.

### Is mom a palindrome?

Yes, the word "mom" is a palindrome because it is also "mom" backwards. The word "dad" is also a palindrome.

### What is a palindromic square of a palindrome?

11 is a palindrome. 11 squared (i.e., 11 times 11) is 121, which is also a palindrome.

### What is a palindrome for dad?

Dad is a palindrome since a palindrome is a word, phrase, number, or other sequence that can be read the same way in either direction. Pop is also a palindrome that can have the same definition as dad.

### What is a palindrome math?

Palindrome words: madam, peep, Otto, racecar, rotator Palindrome numbers: 121, 265,562, 74,947, 8,030,308

### The smallest palindromic number whose square is a palindrome?

1 is the palindrome with square 1. every single digit number is a palindrome.

### Is 234 a palindrome?

No, 234 is not a palindrome because it does not read the same way backwards. (In reverse, 234 reads as 432; therefore, it is not a palindrome.)

### What is a palindrome that is a synonym for horizontal?

Level is a palindrome that is a synonym for horizontal

### What is a palindrome for uniform or horizontal?

Level is a palindrome for uniform or horizontal.

### What is a palindrome for the sound of a horn?

A palindrome for the sound of a horn is "toot."

### What is the palindrome for crooked?

That's usually "palindrome for not crooked." The answer is "level."

### What is a palindrome that is a contraction for a lady?

Ma'am is a palindrome that is a contraction for a lady