Added FP for Java, Part 6.