Java Reference
In-Depth Information
13
AND
I
NTERFACES
Objectives
To design and use abstract classes (§13.2).
■
To generalize numeric wrapper classes,
BigInteger
, and
BigDecimal
using the abstract
Number
class (§13.3).
■
To process a calendar using the
Calendar
and
GregorianCalendar
classes (§13.4).
■
To specify common behavior for objects using interfaces (§13.5).
■
To define interfaces and define classes that implement interfaces (§13.5).
■
To define a natural order using the
Comparable
interface (§13.6).
■
To make objects cloneable using the
Cloneable
interface (§13.7).
■
To explore the similarities and differences among concrete classes,
abstract classes, and interfaces (§13.8).
■
To design the
Rational
class for processing rational numbers (§13.9).
■
To design classes that follow the class-design guidelines (§13.10).
■
Search WWH ::
Custom Search