Which Of These Is A Correct Statement About Args In The #274
Which of these is a correct statement about args in the following line of code?</p> <pre><code class="language-java"> public static void main(String args[])</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.
Which of these is a correct statement about args in the following line of code?
public static void main(String args[])
args is a String
args is a Character
args is an array of String
args in an array of Character