What Will Be The Output Of The Following Java Snippet If #283
What will be the output of the following Java snippet, if compiled and executed with command line argument “java abc 1 2 3”?</p> <pre><code class="language-java" line="1"> public class abc { static public void main(String [] xyz) { for(int n=1;n<xyz.length; n++) { System.out.println(xyz[n]+""); } } } </code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs128 Java. It can also be found in gs gs128 Java Classes Methods - Java Command Line Arguments - Quiz No.1.