Changes

Jump to navigation Jump to search
184 bytes added ,  05:32, 26 March 2015
Line 132: Line 132:     
values.length; → returns the array lenght<br />
 
values.length; → returns the array lenght<br />
 +
=== Iterating trough an array ===
 +
<source lang="java">
 +
String[] fruits = {"apple", "banana", "pear", "kiwi"};
 +
for(String fruit: fruits){
 +
        System.out.println(fruit);
 +
}
 +
</source>
    
== Eclipse shortcuts ==
 
== Eclipse shortcuts ==

Navigation menu