The if/then/else Construct

if (a == b) {
    doSomething()
}
if (a == b) {
    doSomething()
} else {
    doSomethingElse()
}
The if/then/else Construct → belongs to → Control Structures.

The if/then/else Construct — Structure map

Clickable & Draggable!

The if/then/else Construct — Related pages: