Chapter 5. Java Data and Operators


[Page 195]

OBJECTIVES

After studying this chapter, you will

  • Understand the role that data play in effective program design.

  • Be able to use all of Java's primitive types and their operators.

  • Appreciate the importance of information hiding.

  • Be able to use class constants and class methods.

  • Know how to use Java's Math and NumberFormat classes.

  • Be able to perform various kinds of data conversions.

OUTLINE

5.1

Introduction

5.2

Boolean Data and Operators

 

Are We Computers?

5.3

Numeric Data and Operators

5.4

From the Java Library: java.lang.Math

5.5

Numeric Processing Examples

5.6

From the Java Library: java.text.NumberFormat

5.7

Character Data and Operators

5.8

Example: Character Conversions

5.9

Problem Solving = Representation + Action

 

Chapter Summary

 

Solutions to Self-Study Exercises

 

Exercises





Java, Java, Java(c) Object-Orienting Problem Solving
Java, Java, Java, Object-Oriented Problem Solving (3rd Edition)
ISBN: 0131474340
EAN: 2147483647
Year: 2005
Pages: 275

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net