Which will legally declare, construct, and initialize an array in Java ? - Study24x7
Social learning Network
684 followers study24x7 20 Mar 2019 12:24 PM study24x7 study24x7

Which will legally declare, construct, and initialize an array in Java ?

A

int [] myList = {"1", "2", "3"};

B

int [] myList = (5, 8, 2);

C

int myList [] [] = {4,9,7,0};

D

int myList [] = {4, 3, 7};

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles