customize the entry point of program
posted 7 years ago
Apart from things like applets, which usually use init() and servlets, both as mentioned earlier, no. The JVM specifically looks for the main method with a particular signature, and will throw an Exception if it isn't found.Originally posted by pradeepta chopra:
cant we customize the entry point of our program??
like we have main as the entry point for execution of our program.is there any way we can make some other method as the entry point of execution of our program??