Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

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

Which of these is a correct statement about args in the following line of code?
public static void main(String args[])
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: c
Explanation: args in an array of String.

Join The Discussion