Amdocs interview question

Can a Java program have 2 main methods

Interview Answer

Anonymous

Apr 8, 2021

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

1