Chapter 3: Control Flow and Collections
Learning Objectives
Upon completing all the material in this chapter, you should be able to do the following:
- Use basic control flow structures
- Create and work with common collections objects
- Understand how to choose a collection type for a given problem
Key Terminology
Here is a list of the key terms you will find throughout the chapter organized by the page upon which they first appear.
Conditionals
- Operators
- if statements
- else clause
- else if
- switch
- case
- break
- fallthrough
Loops
- for loop
- for-each loop
- while loop
- do-while loop
- continue
Collections
- collections
- Java Collections Framework
ArrayList
- ArrayList
- generic class
- generic type
- ArrayList.add()
- ArrayList.size()
Array
- bracket notation