Ask your own question, for FREE!
MIT 6.001 Structure and Interpretation of Computer Programs, Spring 2005 23 Online
OpenStudy (haleyelizabeth2017):

Which of the following statements creates an array of five int values? int[] x=new int(5); int[] x=new int[4]; int[] x={0, 1, 2, 3, 4}; int[] x={1; 2; 3; 4; 5}; I'm thinking C...It's obviously not A or D.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!