Use final liberally
Serialization and subclassing
Avoid clone
Overridable methods need special care
Remember styles of inheritance
Constructors shouldn't call overridables
readObject
, and clone
must
not invoke an overridable method (one that is not static
,
private
, or final
)Serializable
unless you absolutely need toCloneable
unless you absolutely need to