Discussion Forum : Command Line Arguments
Question -

Which of these is a correct statement about args in this line of code?
public static viod main(String args[])

Options:
A .  args is a String.
B .  args is a Character.
C .  args is an array of String.
D .  args in an array of Character.
Answer: Option C

args in an array of String.



Was this answer helpful ?
Next Question
Submit Your Solution hear:

Your email address will not be published. Required fields are marked *