Having another static method as the entry point of the java program?

Posted by GK on Stack Overflow See other posts from Stack Overflow or by GK
Published on 2010-03-18T18:49:31Z Indexed on 2010/03/18 18:51 UTC
Read the original article Hit count: 239

Filed under:

As we all know java program will start executing from the main method of the class. So was curious to know that is there any other way by which we can make another static method as the entry point, that is can we override this property of the JVM to start with some other method than main?

many of you will ask why do you want to do this? so want to make it clear that its just a curiosity to know about. And if it is there then it might help in many ways

© Stack Overflow or respective owner

Related posts about java