Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

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”);
}
}

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”);
}
}
a) This
b) java Output This is a command Line
c) This is a command Line
d) Compilation Error

Answer: c

Join The Discussion