The following slides discuss loops and exceptions of Java.

Slide 10.1: The while loop — Factorial.java
Slide 10.2: The for loop — ArrayReverse.java
Slide 10.3: The for...each loop
Slide 10.4: Exceptions
Slide 10.5: Exceptions (cont.): The finally keyword
Slide 10.6: Exceptions (cont.): The throw keyword
Slide 10.7: Checked vs unchecked exceptions
Slide 10.8: Checked vs unchecked exceptions (cont.)
Slide 10.9: A travel-agent case study — TestAirline.java
Slide 10.10: A travel-agent case study (cont.)

  ☂ Coding Review

Slide 10.a: A binary search — BinarySearch.java



      “There are three things all wise men fear:    
      the sea in storm, a night with no moon, and the anger of a gentle man.”    
      ― Patrick Rothfuss, The Wise Man’s Fear