RE: Introduction to Loops with Java 08-14-2016, 11:21 AM
#5
what about the enhanced for loop?
or
Code:
for (int value: array) {
System.out.println(value);
}
Code:
for (Object value: collection) {
System.out.println(value.printSomething() );
}
Oh shit whaddup!
![[Image: s6fDTrF.png]](http://i.imgur.com/s6fDTrF.png)