Amdocs interview question

Can a Java program have 2 main methods

Interview Answer

Anonymous

8 Apr 2021

Yes but only main method with string array parameter can be called..otherwise error

1