What will be the output of the following Java 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]);
}
}
class Output
{
public static void main(String args[])
{
System.out.print(args[3]);
}
}A. java
B. is
C. This
D. command
Answer: Option D

Join The Discussion