Yes, We can Write a Java Program without main method by using static block, only in java version 6. But not possible in later versions like java 7 or 8.
Before going to discuss "How to write a java program without main method", let's get an idea about the programs, which are running without main method.
©JavabynataraJ is a blog with java tutorials and Real time tips.