Solved

Which Statements About the Enhanced for Loop Are True for Arrays

Question 2

Multiple Choice

Which statements about the enhanced for loop are true for arrays of primitive data?
I.It is suitable for all array algorithms.
II.It does not allow the contents of the array to be modified.
III.It does not require the use of an index variable.


A) I, II only
B) I, III only
C) II, III only
D) I, II, III

Correct Answer:

verifed

Verified

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