C++ and Java share the same three basic kinds of control statements: sequential, branches, and loops. Control statements allow programs to conditionally execute statements, giving them the power, flexibility, and variety we enjoy and making them valuable. Amazingly, so few control statements result in a wide variety of possibilities. Each time you open a program editor, it's like placing a clean canvas on an easel - you can paint any picture or write any program you can imagine!
If your CS 1400 class used Python in place of Java, you must study section 3.2, Block Structure and Scope very thoroughly.
Example programs follow the introduction of each control statement, but many are grouped in section 3.10 because they often illustrate multiple controls. Section 3.8, "More I/O Functions And Manipulators," includes many example programs.