title: Class definition in java
body: <p>I'm new to Java and i want a refinement:
  First of all,i am not sure if i can have 2 classes in the same file.
  My question is what is each class when you see this sequence of code:</p>
  
  <pre><code>class Something {    
      //code here
  } //end of class Something
  
  public class SomethingElse {
      //NO code here!!!
      public static void main(String[] args) {
          //code of main here
      }//end of main
  }
  </code></pre>
  
  <p>What's the role of the class Something Else and why there is no code inside?I know that is a very stupid question but there are some details that i don't really get and i want some help...</p>