adplus-dvertising
frame-decoration

Question

Which of these is a correct statement about args in this 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

Posted under Java Programming

Answer: (c).args is an array of String

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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