title: What is the use of main method in abstract class?
body: <p>I know that we can write main method in abstract class, but what we can achieve from it ?</p>
  
  <pre><code> public abstract class Sample
   {
           public static void main(String args[])
           {                        
  
              System.out.println("Abstract Class main method : ");
  
           }
   }
  </code></pre>
  
  <p>We can not create the object of abstract class ,so what is the use of main method in abstract class ?</p>