Appendix. Answers to Twist in the Tale exercises
Chapters 1 to 7 include multiple Twist in the Tale exercises. The answers to these exercises are given in this appendix, with comprehensive explanations. The answers to each exercise include the following elements:
- Purpose: The aim of the exercise (the twist to which each exercise is trying to draw your attention)
- Answer: The correct answer
- Explanation: A comprehensive explanation of the answer
Let’s get started with the first chapter.
A.1. Chapter 1: Java basics
Chapter 1 includes four Twist in the Tale exercises.
A.1.1. Twist in the Tale 1.1
Purpose: This exercise encourages you to practice code with a combination of the correct contents (classes and interfaces) of a Java source code ...
Get OCA Java SE 7 Programmer I Certification Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.