Solved

Which Statement Correctly Describes the Enhanced for Loop

Question 20

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

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