📅  最后修改于: 2022-03-11 14:55:10.950000             🧑  作者: Mango
Yes, one of the ways to execute the program without the main method is
using static block
What if the static modifier is removed from the signature of the main method??
Program compiles. However, at runtime, It throws an error "NoSuchMethodError