LaunchCode logo
  1. Contents
  2. 3. Control Flow and Collections

3. Control Flow and CollectionsΒΆ

  1. 3.1. Conditionals
    1. 3.1.1. Operators
      1. 3.1.1.1. Comparison Operators
      2. 3.1.1.2. Logical Operators
    2. 3.1.2. if Statements
    3. 3.1.3. if else
    4. 3.1.4. else if
    5. 3.1.5. switch Statements
      1. 3.1.5.1. Fallthrough
    6. 3.1.6. References
    7. 3.1.7. Check Your Understanding
  2. 3.2. Loops
    1. 3.2.1. for Loop
    2. 3.2.2. for-each Loop
    3. 3.2.3. while Loop
    4. 3.2.4. do-while Loop
    5. 3.2.5. Break Statements in Loops
    6. 3.2.6. Continue Statements in Loops
    7. 3.2.7. References
    8. 3.2.8. Check Your Understanding
  3. 3.3. Collections
    1. 3.3.1. Data Structures
    2. 3.3.2. Java Collections Framework
    3. 3.3.3. Gradebook, Three Ways
  4. 3.4. ArrayList
    1. 3.4.1. ArrayList Iteration
      1. 3.4.1.1. do-while
      2. 3.4.1.2. for-each
      3. 3.4.1.3. for
    2. 3.4.2. ArrayList Methods
    3. 3.4.3. References
    4. 3.4.4. Check Your Understanding
  5. 3.5. Array
    1. 3.5.1. References
    2. 3.5.2. Check Your Understanding
  6. 3.6. HashMap
    1. 3.6.1. HashMap Methods
    2. 3.6.2. References
    3. 3.6.3. Check Your Understanding
  7. 3.7. Exercises: Control Flow and Collections
    1. 3.7.1. Array Practice
    2. 3.7.2. ArrayList Practice
    3. 3.7.3. HashMap Practice
  8. 3.8. Studio: Counting Characters
    1. 3.8.1. Some Items to Ponder Before Starting
    2. 3.8.2. Sample Output
    3. 3.8.3. Bonus Missions
      1. 3.8.3.1. Super Bonus
  • ← 2.5. Studio: Area of a Circle
  • 3.1. Conditionals →

Back to top

Page Source