0
Can we execute a program without main() method?

Open 1 Answers 40 Views Education
Can we execute a program without main() method?

1 Answer

0

Can we execute a program without main() method?

Yes, one of the ways to execute the program without the main method is using static block. More Details.

by (52.6k points)
...