Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Objectives
In this appendix you’ll learn:
• To write simple Java applications.
• To use input and output statements.
• Java’s primitive types.
• Basic memory concepts.
• To use arithmetic operators.
• The precedence of arithmetic operators.
• To write decision-making statements.
• To use relational and equality operators.
A.2 Your First Program in Java: Printing a Line of Text
A.3 Modifying Your First Java Program
A.4 Displaying Text with printf
A.5 Another Application: Adding Integers
A.8 Decision Making: Equality and Relational Operators
Self-Review Exercises | Answers to Self-Review Exercises | Exercises