MOD 4

Cards (5)

  • Array stores multiple data items of the samedatatype,inacontiguous block of memory, divided into a number of slots
  • we must create the array and specify its length with a constructor statement.
  • This process in Java is called instantiation (the Java word for creates).
  • An index number or subscript is assigned to each member of thearray, allowing the program and the programmer to accessindividualvalues when necessary.
  • Index numbers are always integers