Types
Each variable or constant in a Java
program can only store values of a certain type which is determined by the
programmer.
Java offers three categories of variable
types:
- objects
- primitive types
- arrays (ordered collections of variables)
We shall thoroughly investigate Java object
variables, and arrays in later units.
In this unit we shall mainly concentrate on
variables that can store values of the primitive types.
Back
to top
. 
RITSEC - Global Campus
Copyright ?1999 RITSEC- Middlesex University. All rights reserved.
webmaster@globalcampus.com.eg
|