[Solved] Exception in thread “main” java.lang.ArrayIndexOutOfBoundsException: 0 at HelloWorld.main(HelloWorld.java:15) [closed]

[ad_1]

You called the program without arguments and you are trying to read an empty arguments array.

2

[ad_2]

solved Exception in thread “main” java.lang.ArrayIndexOutOfBoundsException: 0 at HelloWorld.main(HelloWorld.java:15) [closed]