Examveda
Examveda

In Java, what is the purpose of the "for-each" loop?

A. Defining methods

B. Declaring variables

C. Iterating over elements of an array or collection

D. Performing mathematical calculations

Answer: Option C


This Question Belongs to Java Program >> Flow Control

Join The Discussion

Related Questions on Flow Control