A

Admin • 802.91K Points
Coach

Q. Which will legally declare, construct, and initialize an array?

  • (A) int [] myList = {};
  • (B) int [] myList = (5, 8, 2);
  • (C) int myList [] [] = {4,9,7,0};
  • (D) int myList [] = {4, 3, 7};
  • Correct Answer - Option(D)
  • Views: 7
  • Filed under category Java
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.