Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Enhanced For Loop Java

class Main {
   public static void main(String args[]){
      int arr[]={1,2,3,4,5};
      for (int num : arr) {
         System.out.println(num);
      }
   }
}
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #Enhanced #For #Loop #Java
ADD COMMENT
Topic
Name
3+8 =