Why this java application print "true"?
<p>This is my first Class Hello.java</p>

<pre><code>public class Hello {
    String name = "";
}
</code></pre>

<p>This is my second Class Test1.java</p>

<pre><code>public class Test1 {    
    public static void main(String[] args) {
        Hello h = new Hello();
        Test1 t = new Test1();
        t.build(h);
        System.out.println(h.name);
    }
    void build(Hello h){
        h.name = "me";
    }
}
</code></pre>

<p>When I run Test1.java, it prints "me". I think I understand, because of "reference transfer".</p>

<p>This is my third Class Test2.java</p>

<pre><code>public class Test2 {
    public static void main(String[] args) {
        Hello h = null;
        Test2 t = new Test2();
        t.build(h);
        System.out.println(h == null);
    }
    void build(Hello h){
        h = new Hello();
    }
}
</code></pre>

<p>When I run Test2.java, it prints "true", why ? Is it "reference transfer" no longer? I am confused.</p>
