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

Introduction

Content

Apply

Reflect

Extend

previous.gif
 (3087 bytes)

Untitled-1.GIF (357576 bytes)


Apply Index

Apply Page # 10

Exercise 5 – Variables summary

Complete the following statements that summarize the concepts explored in the 'Variables' section of this unit.

A variable is any named piece of data that can change during the execution of a program.

A constant is any named piece of data that cannot change.

A literal is like a constant without a name, for example 2 or "Hello" .

The term for the name of a variable or constant is '__________'.

Variables and constants have:

an identifier

a ____

a ____

Discussion of Exercise 5

Back to Content

Back to top

basicline.gif (169 bytes)

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