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 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.