Blogger

Delete comment from: Javarevisited

Hi Gokul, to write a Java program without main is not difficult , you can write any Class but if you want to execute them in put the code inside Static block and it will run when class will be loaded in JVM.

Oct 13, 2011, 8:57:30 AM


Posted to How to use Class in Java Programming - Example

Google apps
Main menu