Answers for "using an array in java"

3

array in java

int[] storer = {10,85,62};
System.out.println(storer[0]);
Posted by: Guest on April-06-2021
5

array in java

Size is fixed
It supports both primitives and objects
Can be also multi-dimensional
Posted by: Guest on January-05-2021
0

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]);
      }
   }
Posted by: Guest on January-18-2021

Code answers related to "using an array in java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language