ABSTRACT

A computer can be described as a machine that processes data. You can imagine a digital meat grinder into which raw data is fed. When you turn the grinder's handle, the raw data is converted into some form of consumable digital sausage. Using this same meat grinder image we can say that a program is a set of instructions that determine how the raw data is processed. Therefore, one of the main functions of a programming language, such as Java, is the classification, manipulation, and storage of computer data. In this chapter we look at how data is stored in a Java program and learn how to create and use different types of data.