|
All of the data types presented so far in this book have represented single units of information. The char type represents a single character, while the other types represent numbers with various formats and ranges.
This chapter will introduce arrays, which are clusters of data. You will learn how to create arrays and how to use them in programs, especially in the context of loops.
Arrays are extremely basic examples of objects. We can't claim that when you master arrays, you will have mastered object-oriented programming. However, in the course of this chapter, you will learn a number of concepts that will make it easy for you to master objects when they are presented in the next several chapters.
|