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

3. Control Flow and CollectionsΒΆ

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

Back to top

Page Source