Introduction
Here is the source code for Main.java
Source
//package com.java2s;
public class Main {
public static boolean isPalindrome(String text) {
String reverse = "";
for (int i = text.length() - 1; i >= 0; i--) {
reverse += text.charAt(i);
}
return text.equals(reverse);
}
}