title: Multiple files argument to main function
body: <p>I want to  process  multiple text files ( eg. compare 2 files) and pass the files as argument to the main function. How do I do that ? How to I pass multiple files arguments from the command line?</p>
  
  <pre><code>import java.io.File;
  class MultiFileApp {
      public static void main(String[] args) {
          // Read file 1
          // Read file 2
          //Process File 1 &amp; 2
      }
  }
  </code></pre>