Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to use arrays java

// How to use arrays 
// Julian
 public static void main(String[] args)
   {
   // Initialize array
      int[] arrNum = {25, 23, 15, 20, 24};
   // Recorrerlo
      for(int a = 0; a < arrNum.length; a++)
      {
         System.out.println(arrNum[a]);
      }
   }
 
PREVIOUS NEXT
Tagged: #arrays #java
ADD COMMENT
Topic
Name
6+3 =