 | Chapter Objectives (See related pages)
After you have read and studied this chapter, you should be able to- Select proper types for numerical data.
- Write arithmetic expressions in Java.
- Evaluate arithmetic expressions, following the precedence rules.
- Describe how the memory allocation works for objects and primitive data values.
- Write mathematical expressions, using methods in the Math class.
- Use the GregorianCalendar class in manipulating date information such as year, month, and day.
- Use the DecimalFormat class to format numerical data.
- Convert input string values to numerical data.
- Input data by using System.in and output data by using System.out.
- Apply the incremental development technique in writing programs.
- (Optional) Describe how the integers and real numbers are represented in memory.
|
|