Home / MCQ Bank / Computer
Computer Miscellaneous In Java

What will be the output of the following Java snippet, if compiled and executed with command line argument "java abc 1 2 3"? public class abc { static public void main(String [] xyz) { for(int n=1;n<xyz.length; n++) { System.out.println(xyz[n]+""); } } }

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option B • 2 3

Related Computer Questions

In Python, how can you join two or more lists or tuples together? In a regular expression, what does the metacharacter `d` represent? What is the significance of the Hadoop Distributed File System (HDFS) in the architecture? The default extension for an Oracle SQL*Plus file is: Which of the following Key is not found in normal computers / laptops?