title: How to create a method with a parameter that can be any type of variable?
body: <p>I'm sorry if this is already asked but here is my question.  I would like to create a function where the parameter that the user inputs can be any variable type, similar to <code>System.out.println()</code>.</p>
  
  <p>That being said how would I create that method?</p>
  
  <pre><code>public static void example(String, int, double, etc.) {
      //Code here
  }
  </code></pre>