demos for <Effective Java>