Java-For-each-Loop
Java For-each Loop Watch basic code using following link:
https://github.com/JehanKandy/First-Coding-with-JAVA
code Explain
public class foreach_loop {
public static void main(String[] args) {
String [] foods = {"Egg","Bun","Rice","Water"};
for (String i : foods) {
System.out.println(i);
}
}
}
In oder to above code I