Frage im Vorstellungsgespräch bei NSEIT

Can we declare main function private in java ?

Antwort im Vorstellungsgespräch

Anonym

11. Okt. 2017

No , it should be public as it is to be accessed by other classes.