Solved

Which Statement Correctly Describes the Enhanced for Loop

Question 30

Multiple Choice

Which statement correctly describes the enhanced for loop?


A) In the enhanced for loop, the element variable is assigned.In the basic for loop, the index variable is assigned.
B) In the enhanced for loop, the index variable is assigned.In the basic for loop, the element variable is assigned.
C) The enhanced for loop has a very specific purpose: modifying the contents of the array.
D) The enhanced for loop has a very specific purpose: initializing the contents of the array.

Correct Answer:

verifed

Verified

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

Related Questions