您的位置:寻梦网首页编程乐园Java天地Core JavaJava Lecture Notes
Introduction
Content
Apply
Reflect
Extend
previous.gif
 (3087 bytes)
next.gif
 (2959 bytes)

 
 
Content Index
Content Page # 2

Branching of execution

As we began to investigate in the previous unit, Java offers 3 kinds of branch of execution flow:

  • method calling
  • selection
  • iteration
In the previous unit you learnt about a simple form of selection: are the if statement. In this unit we introduce an extended version of selection: the if...else statement, and also an iteration statement: while.

basicline.gif (169 bytes)

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