|
|
![]() | The body of a method in Java consists
of a block which encloses a sequence of
statements in braces.
| ||||||||||||||||||||||||||||||||||||||||||||||||
![]() | So far we have seen (more or less) following statements:
| ||||||||||||||||||||||||||||||||||||||||||||||||
![]() | So far all statements were executed just once per
invocation of the method exactly in the order given.
There were no repetitions nor selections of statements.
| ||||||||||||||||||||||||||||||||||||||||||||||||
![]() | Statements that support repetition and conditional
execution are called control statements or
control structures.
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| Copyright © 2001, 2002 Andreas Borchert, converted to HTML on February 11, 2002 |