GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Karteikarten

Arrays - Vocabulary

vgeetha AP Computer Science Englisch 13 Karten

Karten in diesem Stapel (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

Informationen

Beschreibung
AP Computer Science (Arrays) Karteikarten am Arrays - Vocabulary, erstellt von vgeetha am 27/08/2013.
Erstellt von
vgeetha
Aufrufe
111
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck