problem with a palindrome method
<p>Hi i am trying to write a palindrome method but am getting the wrong results</p>

<pre><code>public static boolean isPalindrome(String input){
    int b=input.length();
    int []array=new int[b];
    for(int i=0;i&lt;array.length;i++){
        array[i]=Integer.parseInt(input);}


        for(int i=0;i&lt;(array.length)/2;i++){
            if(!(array[i]==array[array.length-1-i])){
                    return false;}
        }

        return true;

    }
}
</code></pre>
