Chapter 14. ARRAYS

     

DO OR DIE:

  • Learn how arrays work in Java. If you think you have a better objective for this topic (after all, a topic on arrays, duh), I'd be happy to hear about it (good luck, buddy [as if])


The array is a standard feature of programming languages. An array is a collection of objects or primitive values, each of which is of the same type, and each of which is associated with an ordinal place in the collection. This ordinal place is called an index . As a feature of the Java language, they offer quick storing and retrieval of data, in large part because their size is always known. That is, after you create an array to store 150 items, that particular array can never be resized.



Java Garage
Java Garage
ISBN: 0321246233
EAN: 2147483647
Year: 2006
Pages: 228
Authors: Eben Hewitt

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net