Oral Assessment 12 will focus on Bloch's treatment of lambda expressions.
To make this concrete, we'll focus on the Comparator
interface
as we covered it with In-Class Exercise 16.
You'll need to be able to do two things with this example:
Comparator
and understand what happens to clients who use
these problematic implementations, e.g. in the context of
a TreeSet
.
Comparator
to an anonymous class, and then on to a lambda expression.
This is basically what In-Class Exercise 22 is about.
Since I want all students to understand every week of the semester, it's possible that your oral assessment will address last week's topic. Be prepared for both!
This guide covers oral assessments administered between Monday, November 16 and Friday, November 20.