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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.217.254.118