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

Fichas

Arrays - Vocabulary

vgeetha AP Computer Science Inglés 13 fichas

Fichas del conjunto (13)

  1. 1What are arrays?Arrays are data structure to store the data of the same data type
  2. 2element of an arrayindividual units of an array
  3. 3array indexindex number starting from 0 in which order the array elements are arranged consecutively in the memory location
  4. 4name of the arraya reference variable to store the location where the first element of the array is stored.
  5. 5for(int i=0; ifor next loop
    or enhanced for loop
  6. 6for(String s: name) { ---- }for each loop
  7. 7for each loopused to retrieve elements without accessing to individual elements
  8. 8for next loop for arraysused when you need to access a particular element through its index
  9. 9arrayName.lengthgives the total number of elements in an array named arrayName.
  10. 10array can store theprimitive data types
    objects
  11. 11an array can store onlythe same data type
    that means all the elements of an array should be of the same type
  12. 12arrayName[5] refers to the6th element of the array
  13. 13apart from primitive data types arrays can also storeobjects

Información

Descripción
(Arrays) AP Computer Science Fichas sobre Arrays - Vocabulary, creado por vgeetha el 27/08/2013.
Creado por
vgeetha
Visitas
111
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?