Can we execute a program without main() method?
Ask by Samuel Fernandes
Updated 16 Sep 2020
Output:static block is invoked (if not JDK7)