Examveda

What will be the output of the following Java program, Command line execution is done as - "java Output command Line 10 A b 4 N"?
class Output 
{
    public static void main(String args[]) 
    {
        System.out.print(args[6]);
    }
}

A. java

B. 10

C. b

D. N

Answer: Option D


This Question Belongs to Java Program >> Miscellaneous In Java

Join The Discussion

Related Questions on Miscellaneous in Java