Multiple Choice Question

Quiz Guidelines

 

QID: 
414
Tags: 
Question: 

Consider the following program:

public class TestClass{  
public static void main(String[] args){    
String tom = args[0];    
String dick = args[1];    
String harry = args[2];  } }

What will the value of 'harry' if the program is run from the command line: 
java TestClass 111 222 333

Select 1 option 

A. 111 
B. 222 
C. 333 
D. It will throw an ArrayIndexOutOfBoundsException 
E. None of the above. 

Q&A Set: 

Search the Web

Custom Search

Searches whole web. Use the search in the right sidebar to search only within javajee.com!!!