3.1. Closed for Modification, Open for Extension3.2. Enter the Decorator Pattern3.3. Putting the Decorator Pattern to Work3.3.1. Creating a decorator3.3.2. Adding a disk3.3.3. Adding a CD3.3.4. Adding a monitor3.3.5. Testing it out3.4. Improving the New Operator with the Factory Pattern3.5. Building Your First Factory3.5.1. Creating the factory3.5.2. Creating the abstract Connection class3.5.3. Creating the concrete connection classes3.5.4. Testing it out3.6. Creating a Factory the GoF Way3.6.1. Creating an abstract factory3.6.2. Creating a concrete factory3.6.3. Creating the secure connection classes3.6.4. Testing it out