Appendix
Solutions to Exercises
Chapters 1 through 10 close with an “Exercises” section that tests your understanding of the chapter's material through various exercises. Solutions to these exercises are presented in this appendix.
Chapter 1: Getting Started with Java
- Java is a language and a platform. The language is partly patterned after the C and C++ languages to shorten the learning curve for C/C++ developers. The platform consists of a virtual machine and associated execution environment.
- A virtual machine is a software-based processor that presents its own instruction set.
- The purpose of the Java compiler is to translate source code into instructions (and associated data) that are executed by the virtual machine.
- The answer is true: ...
Get Learn Java for Android Development 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.