Multiple Choice Question

Quiz Guidelines

 

QID: 
82
Tags: 
Question: 

What will be the output of the following program when it is compiled and run with the command line 

java TestClass 1 2 3 

public class TestClass {
       public static void main(String[] args) {
             System.out.println("Values : "+args[0]+args[1]);
      }
}

Select 1 option

A. Values: java TestClass
B. Values: TestClass 1
C. Values: 12
D. Values: 23
E. Values: 3  

Q&A Set: