Why I cannot increment integer in void method
<p>I am really confuse why in this small example <code>i</code> is still 0:</p>

<pre><code>public static void main(String[] args) {
    int i = 0;
    inc(i);
    System.out.println(i);
}

private static void inc(int i) {
    i++;
}
</code></pre>

<p>probably very easy question but I dont see it </p>
