last for Thinking in Java