Oracle Java SE 8 Programmer I 1z0-808 Question # 16 Topic 2 Discussion

Oracle Java SE 8 Programmer I 1z0-808 Question # 16 Topic 2 Discussion

1z0-808 Exam Topic 2 Question 16 Discussion:
Question #: 16
Topic #: 2

Which two array initialization statements are valid? (Choose two.)


A.

int array[] = new int[3] {1, 2, 3};


B.

int array[] = new int[3]; array[0] = 1;

array[1] = 2;

array[2] = 3;


C.

int array[3] = new int[] {1, 2, 3};


D.

int array[] = new int[3]; array = {1, 2, 3};


E.

int array[] = new int[] {1,2,3};


Get Premium 1z0-808 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.