title: How to pass object array as parameter in Java
body: <p>The method is <code>public static void method(Object[] params)</code>, how should I call it in the following scenarios? </p>
  
  <ol>
  <li>with one object as parameter <code>ClassA a</code></li>
  <li>with more than one objects as parameters <code>ClassA a</code>, <code>ClassB b</code>, <code>ClassC c</code>?
  thank you</li>
  </ol>