Discussion Forum : Command Line Arguments
Question -


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]");
}
}
Options:
A .  java
B .  is
C .  This
D .  command
Answer: Option D

None.
Output:
$ javac Output.javac
java Output This is a command Line
command



Was this answer helpful ?
Next Question
Submit Your Solution hear:

Your email address will not be published. Required fields are marked *