title: Can we add the main method in class after creating the class without main method in eclipse?
body: <p>Can we add the main method in class after creating the class without main method in eclipse? </p>
  
  <p>I created a class and am trying to add main method after creation, it is not picking up.</p>
  
  <blockquote>
    <blockquote>
      <p>Error: Editor does not contain a main type,</p>
    </blockquote>
  </blockquote>