CHAPTER 2
Programming Building Blocks—Java Basics
CHAPTER CONTENTS
2.1 Java Application Structure
2.2 Data Types, Variables, and Constants
2.2.3 Floating-Point Data Types
2.2.6 The Assignment Operator, Initial Values, and Literals
2.2.7 String Literals and Escape Sequences
2.3 Expressions and Arithmetic Operators
2.3.1 The Assignment Operator and Expressions
2.3.4 Programming Activity 1: Converting Inches to Centimeters
2.3.5 Integer Division and Modulus
Get Java Illuminated, 4th 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.