overload two methods with vararg and String[] parameter
<p>I want overload two method with one parameter, in a method <code>varargs</code> of String and another <code>String[]</code> but I achieve following compilation-time error:</p>

<pre><code>Duplicate method registerByName(String...)
</code></pre>

<p>My snippet code is:</p>

<pre><code>public void registerByName(String[] names)
{

}

public void registerByName(String...names)
{

}
</code></pre>

<p>Why?</p>
