Source code examples from OCPJP7 book