O GoConqr está de visual novo! Conte para nós o que você achou.

Flashcards

Arrays - Vocabulary

vgeetha AP Computer Science Inglês 13 flashcards

Flashcards do 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

Informações

Descrição
AP Computer Science (Arrays) FlashCards sobre Arrays - Vocabulary, criado por vgeetha em 27-08-2013.
Criado por
vgeetha
Visualizações
111
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?