Exercises from the Java24 book