What is the output of this program, Command line execution is done as -
"java Output command Line 10 A b 4 N"?
class Output { public static void main(String args[]) { System.out.print("args[6]"); } }
What is the output of this program, Command line execution is done as -
"java Output command Line 10 A b 4 N"?
class Output { public static void main(String args[]) { System.out.print("(int)args[2] * 2"); } }
What is the output of this program, Command line execution is done as -
"java Output This is a command Line"?
class Output { public static void main(String args[]) { System.out.print("args"); } }
What is the output of this program, Command line exceution is done as -
"java Output This is a command Line"?
class Output { public static void main(String args[]) { System.out.print("args[3]"); } }
What is the output of this program, Command line execution is done as -
"java Output This is a command Line"?
class Output { public static void main(String args[]) { System.out.print("args[0]"); } }