Palindromes are words which are the same when spelt backwards. For example:
abba
pop
Write a program Palindrome.java which prints out the palindromes from the file words. Note that in this file, every word is on a line of its own.
Notes:
© 2001 Mark Ryan and Alan Sexton