Print Palindrome in Java
<p>I have the following code and i want to print the palindrome on console. Please let me know what should come inside the if condition so that it can print all palindrome in between 0 to 10000.</p>

<p>The palindrome is 161, 1221, 4554, etc....</p>

<p>Java code:</p>

<pre><code>int palindrome[];
palindrome = new int[10000];

for (int count = 0; count &lt; palindrome.length; count++ ){
    palindrome[count] = 0;
    if(){
        System.out.println(count);
    }
}
</code></pre>
