Solved

The Statement Int[ ] List = {5, 10, 15, 20};

Question 32

Multiple Choice

The statement int[ ] list = {5, 10, 15, 20};


A) adds 4 int values to array list
B) initializes list to have 20 int values
C) initializes list to have 4 int values
D) declares list but does not initialize it
E) causes a syntax error because it does not include "new int[4]" prior to the list of values

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents