The enhanced for loop, when used on a collection,

A) is converted by the compiler to a traditional loop that uses an iterator
B) should be avoided because it incurs runtime overhead
C) throws an runtime exception
D) None of the above

A) is converted by the compiler to a traditional loop that uses an iterator

Computer Science & Information Technology

You might also like to view...

Use a ____ canvas to direct a user through a sequence of steps for performing a task.

a) content b) tab c) modular d) stacked

Computer Science & Information Technology

A client program depends solely on the ______ of the ADT.

a. data members b. structure c. implementation d. behavior

Computer Science & Information Technology