Java Reference
In-Depth Information
We'll see example subclasses of this
Plotter
class in upcoming chapters.
[
29
]
A value class is one used mainly to hold state, rather than logic: a
Person
is a value class, whereas
java.lang.Math
is not. Many classes are somewhere in between.
[
30
]
Of course these lights wouldn't have remote power-off. But the computers might, for maintenance
purposes.
[
31
]
For Java folks not that familiar with C/C++, C is the older, non-OO language; C++ is an OO deriv-
ative of C; and Java is in part a portable, more strongly typesafe derivative of C++.