What Will Be The Output Of The Following Java Program Command #279
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”?</p> <pre><code class="language-java" line="1"> class Output { public static void main(String args[]) { System.out.print((int)args[2] * 2); } }</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.