O'Reilly logo

Sams Teach Yourself Object Oriented Programming in 21 Days, Second Edition by Anthony Sintes

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix C. UML Reference

UML Reference

This appendix provides a quick reference to the UML notation used throughout the book.

Classes

The UML represents a class through a box divided into three sections. The top section contains the name, the middle section contains the attributes, and the bottom section contains the methods.

Figure C.1 illustrates how the UML represents a class.

A UML class.

Figure C.1. A UML class.

Object

The UML represents objects the same as a class. The only difference is that the object’s name is underlined and the methods are omitted. The attributes may also show value.

Visibility

Figure C.2 illustrates how the UML represents attribute and method ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required