Consider the following program:
public class Main{ public static void main (String [] args){ String a = args[0]; String b = args[1]; String c = args[2]; } }
What will the value of 'c' if the program is run from the command line:
java Main 111 222 333
Select 1 option
Correct Option is : C
java and classname are not part of the args array.
So a gets "111", b gets "222" and c gets "333".