adplus-dvertising
frame-decoration

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]");
        }
    }

a.

java

b.

is

c.

This

d.

command

Answer: (d).command

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the output of this program, Command line exceution is done as – “java Output This is a command Line”?