¡GoConqr estrena diseño! Cuéntanos qué te parece.

Mapa mental

one Dimensional array

daniela rodriguez Español

Contenido del mapa

one Dimensional array

  1. An array is a collection of elements of one specific type in a horizontal fashion.

  2. As far as an array is concerned, one dimension means it has only one value per location or index.

  3. Using Standard Method: int[] a=new int[3];//declaration a[0]=10;//initialization a[1]=20; a[2]=30;

  4. Using String: We declared one-dimensional string array with the elements strings. To print strings from the string array. for i=0 to i<length of the string print string which is at the index str[i].

  5. A one-dimensional array is one of the most basic ways of storing variables and data that are of the same type (int, double, String, etc) in a straight line of memory.

    • They are statically allocated a certain amount of memory when you compile your program based on how large you declare it to be and are unable to be resized later.
    • an Array is a (fixed length) data structures used to store multiple data elements, that share a common name with the same data type. Array is a predefined class present in java
      • An expression can calculate an index number, that must lie between integers 0 (zero) to n-1 (n is the length of the array). A

Información

Descripción
Mapa Mental sobre one Dimensional array, creado por daniela rodriguez el 09/05/2019.
Creado por
daniela rodriguez · may 2019
Actualizado
9 may 2019
Visitas
0
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?