java short for loop code example
Example: shortcut for for loop in java
int[] numArray = {10, 20, 30, 40};
for(int num : numArray)
{
System.out.println(num);
}
int[] numArray = {10, 20, 30, 40};
for(int num : numArray)
{
System.out.println(num);
}