title: Defining classes in Java files
body: <p>I have found one error in my Java program:</p>
  
  <blockquote>
    <p>The public type abc class must be defined in its own class</p>
  </blockquote>
  
  <p>How can I resolve this error? I am using Eclipse. I am new to Java programming.</p>