An enhanced for loop can only be used

An enhanced for loop can only be used


a. to work with one-dimensional arrays
b. to work with all the elements of an array
c. to work with jagged arrays
d. to work with arrays that contain integers


Answer: b. to work with all the elements of an array


Learn More :