Chapter    2

Learning Language Fundamentals

Aspiring Android app developers need to understand the Java language, which is used to express an app’s source code. In Chapter 2, I start to introduce you to this language by focusing on its fundamentals. Specifically, you’ll learn about comments, identifiers (and reserved words), types, variables, expressions (and literals), and statements.

Note   The American Standard Code for Information Interchange (ASCII) has traditionally been used to encode a program’s source code. Because ASCII is limited to the English language, Unicode ( was developed as a replacement. Unicode is a computing industry standard for consistently encoding, representing, and handling text that’s expressed ...

Get Learn Java for Android Development, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.