title: Can we execute a java program without a main() method?
body: <p>According to my knowledge we cannot execute without a main method because when your running the java program. java Virtual machine look for the main method .if JVM could not find the main method it will show you run time error Exception in thread main could not find the main class.</p>
  
  <p>But I searched for many blogs and some of them are saying, yes it can be done through static blogs if there is a static block in a java program,the class loader loads all static block before java gives call to main() method!.</p>
  
  <p>Is it really possible and what will be the usability of these.</p>