Chapter     2

Learning Language Fundamentals

Aspiring Android app developers need to understand the Java language in which an app’s source code is written. This chapter introduces you to this language by focusing on its fundamentals. Specifically, you’ll learn about application structure, 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 (http://unicode.org/) 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, Third 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.