enhanced for loop 2c

Solutions on MaxInterview for enhanced for loop 2c by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "enhanced for loop 2c"
Simona
27 Jun 2018
1for (String element : array) {    System.out.println("Element: " + element);}
Bob
02 Jul 2020
1for (int i=0; i < array.length; i++) {    System.out.println("Element: " + array[i]);}