Multiple Choice
Which statements about the enhanced for loop are true for arrays of primitve 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
B) I, III
C) II, III
D) I, II, III
Correct Answer:

Verified
Correct Answer:
Verified
Q2: Which one of the following statements is
Q31: What should you check for when calculating
Q42: Consider the following code snippet:<br>String[] data =
Q107: What is the output of the following
Q109: What will be printed by the statements
Q110: Consider the following code snippet:<br>Int cnt =
Q111: What is the result of the following
Q113: What will be printed by the statements
Q115: The method findLargest should return the largest
Q116: Consider the following code snippet:<br>Int val =