Code examples for Java SE certification