What is the difference between object and object[] in java : <p>So i wrote a method that accepts any java object and i figured out that </p>

<pre><code>public void mymethod(Object javaobject) {
}
</code></pre>

<p>works, but with</p>

<pre><code>public void mymethod(Object[] javaobject) {
}
</code></pre>

<p>Eclipse trows an error</p>

<pre><code>The method mymethod(Object[]) in the type myClass is not applicable for the arguments (Object)
</code></pre>

<p>So my question is, where is the difference between these two types ?</p>
