Write a method which returns true if the string parameter is a palindrome.
Tutorial Details:
Write a method which returns true if the string parameter is a palindrome. A palindrome is any "word" which is the same forward and backward, eg, radar, noon, 20011002... The method should return false if the argument is not a palindrome.
Note: This is declared static because it is doesn't depend on instance variables from the class it would be defined in. It only depends on its parameters. It's declared public only because it might be generally useful.
Info on palindromes
Check out www.palindromes.org if you want to know more about them. This site has lots of amusing examples, eg, "Doc, note I dissent: a fast never prevents a fatness. I diet on cod." or "Drat Saddam, a mad dastard!"
From Writing Programs to Creating Compilers
From Writing Programs to Creating Compilers
In this article we build a simple compiler that augments Java with tasks (independent blocks of code that execute in parallel), thus creating a new language called AJ that well supports the programming of syste
one-jar
One-JAR is a simple solution to a vexing problem in Java: how to distribute an application as a single jar-file, when it depends on multiple other jar-files. One-JAR uses a custom classloader to discover library jar files inside the main jar.