Java Reference
In-Depth Information
CHAPTER
10
T HINKING IN
O BJECTS
Objectives
To create immutable objects from immutable classes to protect the contents
of objects (§10.2).
To determine the scope of variables in the context of a class (§10.3).
To use the keyword this to refer to the calling object itself (§10.4).
To apply class abstraction to develop software (§10.5).
To explore the differences between the procedural paradigm and
object-oriented paradigm (§10.6).
To develop classes for modeling composition relationships (§10.7).
To design programs using the object-oriented paradigm (§§10.8-10.10).
To design classes that follow the class-design guidelines (§10.11).
To create objects for primitive values using the wrapper classes ( Byte ,
Short , Integer , Long , Float , Double , Character , and Boolean )
(§10.12).
To simplify programming using automatic conversion between primitive
types and wrapper class types (§10.13).
To use the BigInteger and BigDecimal classes for computing very large
numbers with arbitrary precisions (§10.14).
 
 
 
Search WWH ::




Custom Search