Slide 24

First page Back Continue Last page Overview Graphics

# Java Rules

- ## Not thread safe

- ## Classes do not implement Serializable; use XML.

- ## Classes do not implement Cloneable; use copy constructors.

- ## Lack of generics really hurts in the Collections API. Hence, don't use it.

- ## Problems detectable in testing throw runtime exceptions

- ## Assertions that can be turned off are pointless