Java changing value of a variable through a method?
<p>Hello I was wondering how I would be able to send a variable as a parameter to a method and have it be changed by the method.  For example</p>

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

    public static void doThis(int i) {
        i = 3;
    }
}
</code></pre>

<p>I would like it to print out 3 instead of 2.  Thanks.</p>
