title: Exception in thread "main" java.lang.NegativeArraySizeException
body: <p>This is my first big project in Java. I have been stuck with this error for so many hours. I assume I'm making a mistake because of string. I apologise if my code make no sense. I'm trying to learn my mistakes. Can you please help me figure out my mistake ? </p>
  
  <pre><code>    InfoGain = new double[noOfAttributes];  
      GainRatio = new double [noOfAttributes];
      findUnique();
  </code></pre>