Qus:    Can we execute a program without main() method?
Mar 08, 2021 12:39 1 Answers Views: 441 RANJIT
Prev Next
Answers (1)
SANJAY Mar 09, 2021 09:30
Answer:   No, It was possible before JDK 1.7 using the static block. Since JDK 1.7, it is not possible.

Post Your Answer
Guest User

Not sure what course is right for you?

Choose the right course for you.
Get the help of our experts and find a course that best suits your needs.

Let`s Connect