Professional Documents
Culture Documents
(SELECTION)
JAVA NC III
M.A. ESPIRITU
Control Structures
A computer can process a program in one
of three ways:
• In sequence
• By making a selection or a choice, which
is also called a branch
• By repetition, executing a statement over
and over using a structure called a loop
Flow of execution
Control Structures
In Java,
A condition is represented by a logical (boolean)
expression; conditions are either true or false.
Relational Operators
Relational Operators and Primitive Data Types
Relational Operators and Primitive Data Types
Relational Operators and Primitive Data Types
Logical (Boolean) Operators and Logical
Expressions