void main() {
    String[] names = {"Ada", "Grace"};
    IO.println(names[5]);
}

// From Groundwork, chapter 7 (ch07-arrays-and-lists), box 5.
// This example is from Groundwork, licensed CC BY-NC-SA 4.0.
// Run with: java ch07_05.java
// This fails on purpose: it throws java.lang.ArrayIndexOutOfBoundsException—The array has two items, so index 5 does not exist and the program stops. The exception is the lesson.
