title: New to Netbeans, trouble running multiple .java in same .pkg
body: <p>So I recently started studying IT and currently we are working the basics of Java and using Netbeans 8.0.2 to do so.</p>
  
  <p>I have several homework assignments that I enjoy doing a lot but I have got a question about the program.</p>
  
  <p>I did the first assignment and it ran without any errors and showed me the output I was expecting, so I go on to make another .java mainclass file for my second assignment, within the same .pkg as my first assignment. But now every time I press the run button it only shows the first assignment in the output even though both are stated as mainclass files.</p>
  
  <p>I know my code is correct because upon making a new project and doing the second assignment in a totally different project, it runs no problem and shows only the output of the second assignment.</p>
  
  <p>Is there something I'm doing wrong? Because it would be kind of annoying to create a new project for every assignment considering I'm doing 10+ a week.</p>
  
  <p>Any help is greatly appreciated!</p>