Java Check Palindrome
public class Solution {
    public static boolean checkPalindrome(String inputString) {
        return new StringBuilder(inputString).reverse().toString().equals(inputString);
    }
}

This compares the string with its reverse. If they match, it is a palindrome.