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

Join The Discussion