No. public static void main(String[] args)
is the main entry for all Java applications. There are frameworks that makes you believe there's no need of this method, like a unit test executed by JUnit, but the fact is that the framework has a main
method defined somewhere inside it, does the necessary calls for you and ends calling your code.