chapter 1: Object-oriented Design

Introducing object-oriented 409 Objects and classes 411 Specifying attributes and behaviors 413 Hiding details and creating the public interface 417 Composition 419 Inheritance 422 Case study 426 Exercises 433 Summary

1.1 Introducing object-oriented

1.1.1 Linux

Automatic Install Script

$ sudo wget -qO- https://get.docker.com/ | sh

remove hell-world

$ sudo docker rm `sudo docker ps -aq`
$ sudo docker rmi hello-world

.

1.2 Objects and classes

1.3 Specifying attributes and behaviors

1.4 Hiding details and creating the public interface

1.5 Composition

1.6 Inheritance

1.7 Case study

1.8 Exercises

1.9 Summary