lenelex.com
Home
Quizzes
Games
Register
Log in
Question 1 of 20
Which of the following is a valid array initializer?
A. int[] a = new { 1, 2, 3 };
B. int a = new[] { 1, 2, 3 };
C. var a = new { 1, 2, 3 };
D. int[] a = { 1, 2, 3 };
Links:
Arrays