您的位置:寻梦网首页编程乐园Java天地Core JavaJava Lecture Notes

Introduction

Content

Apply

Reflect

Extend

previous.gif
 (3087 bytes)

next.gif
 (2959 bytes)


Content Index

Content Page # 30

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

basicline.gif (169 bytes)

RITSEC - Global Campus
Copyright ?1999 RITSEC- Middlesex University. All rights reserved.
webmaster@globalcampus.com.eg