Chapter 2. Understanding Object-Orientation

What You'll Learn in This Hour:

  • How to understand the object-oriented mindset

  • How objects communicate

  • How objects associate with one another

  • How objects combine

Object-orientation has taken the software world by storm, and rightfully so. As a way of creating programs, it has a number of advantages. It fosters a component-based approach to software development so that you first create a system by creating a set of classes. Then you can expand the system by adding capabilities to components you've already built or by adding new components. Finally, you can reuse the classes you created when you build a new system, cutting down substantially on system development time.

The UML plays into all this by allowing ...

Get Sams Teach Yourself UML in 24 Hours, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.