Given:
executed with this command:
java Main one two three
What is the result?
0). one
0). one1). two2). three
The compilation fails.
It creates an infinite loop printing:0). one1). two1). two...
A java.lang.NullPointerException is thrown.
Submit