Make sure you bring 2 diskettes to lab. I also suggest that you print a copy of this file to refer to during the lab. The file ConsoleReader.java from the courseware server should also be on the diskette. Answer questions on a Word or text file that you can show your teaching assistant upon completion of the lab. Number Types Numbers are essential to computing.
Integers have no decimal part, whereas floating point numbers do.
Variables of either type are represented by user specified names. Space in the computer's memory is associated with the name so that the variable acts like a container for the numeric data. Declaring a variable reserves space in memory and associates a specified name with it. When a variable is declared, it contains whatever value is leftover from the previous use of the memory space. Initializing a variable sets it to a specific value.