Mystery, Dilemna for invoking a function
<pre><code>public void testFunc(Object o) {
     System.out.println("testFunc-Object");
}

public void testFunc(String s) {
     System.out.println("testFunc-String");
}
</code></pre>

<p>Both of these above functions are in Test Class, now if I invoke following method from main function of Test class, which function will be invoked ??</p>

<pre><code>Test t = new Test();
t.testFunc(null);
</code></pre>

<p>in this particular scenario, testFunc(String) is called, but why ?
appreciate your help.</p>
