Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

A. Introduction to Java Applications

A. Introduction to Java Applications

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.

Outline

A.1 Introduction

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.6 Memory Concepts

A.7 Arithmetic

A.8 Decision Making: Equality and Relational Operators

A.9 Wrap-Up

Self-Review Exercises | Answers to Self-Review Exercises | Exercises


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial