+ 1
Public class Exceptions {public static void main(String[] args) {try {if (args.length == 0) return;System.out.println(args[0]);}
A.If run with no arguments, the program will produce no output. B. If run with no arguments, the program will print "The end". C. The program will throw an ArrayIndexOutOfBoundsException D. If run with one argument, the program will simply print the given argument E.If run with one argument, the program will print the given argument followed by "The end" what is ouput of the given code?
3 Réponses
+ 2
Is this a quiz ? :/
0
its a qus i came upto and was unable to answer. so i need help
0
A