title: Syntax error on token ",", Expression expected after this token
body: <p>I'm not that experienced with coding but I know a thing or two and when trying to do something I encountered a problem.</p>
  
  <p>The code itself:</p>
  
  <pre><code>public class Main {
  
      public static void main(String[] args) 
      {
  
          folder test = new folder("test", [5] , [5] );
          int i = test.containedFolders.length;
          System.out.println(i);
      }
  }
  </code></pre>
  
  <p>The constructor:</p>
  
  <pre><code>public class folder
  {
  
      private String name;
      private String[] containedFolders;
      private String[] containedFiles;
  
      folder(String Name, String[] ContainedFolders, String[] ContainedFiles)
      {
          name = Name;
          containedFolders = ContainedFolders;
          ContainedFiles = ContainedFiles;
      }
  }
  </code></pre>
  
  <p>As seen in the title I get this error message- "Syntax error on token ",", Expression expected after this token" on both of the "," in ("test", [5] , [5] ).</p>