user image

Pooja Sharma

Job Interview Skills
English
2 years ago

. Can I have multiple main() methods in the same class?

user image

Abhishek Mishra

2 years ago

No the program fails to compile. The compiler says that the main() method is already defined in the class.

Recent Doubts

Close [x]