ProAnswers.org

Can we execute a program without main() method?

Yes,one of the way is, by static block.