Code examples and practices related to book Java: how to programme 9th edition