Solved

Which Statements About the Enhanced for Loop Are True for Arrays

Question 14

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

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

Related Questions