For-each loop is a conditional statement which can be used in order to control the flow of the program.

BY Best Interview Question ON 21 Sep 2019