What is "^" operation in Java Program? : <pre><code>    for(int i = 0; i &lt; n; i++) {
        num += digits[i]*(10^(n-1-i));
        System.out.println(10^(n-1-i));
    }
</code></pre>

<p>My purpose is to change a array representation of a number into Integer representation. For example, [9,9] is 9*(10^1) + 9*(10^0) = 90+9 = 99. 
However, the output of <code>10^(n-1-i)</code> is:</p>

<pre><code>11
10
</code></pre>

<p>Is anything wrong with my code, or there is the other way to operate "^"? 
Thank you.</p>
