Free e-Books

open all | close all

Quote of the Day

“Knowledge speaks, but wisdom listens”


~ Jimi Hendrix

Class vs. Object

A Class
An individual class is shown on the diagram as a box with up to four sections:

The first section shows the name of the class. Names should be nouns. Typically the first letter of every word in a name is capitalized.
Attributes represent the state of the object or what the object knows.
Operators represent the behavior [...]

Class Relationship – An Example

This class diagram shows examples of associations, aggregations, and generalizations.
In general, associations describe the relationships between classes or objects. They start as simple connectors, to show that some relationship exists. As design progress (and often during development), the natures of the relationships become clearer, and the associations are modified to reflect the new knowledge. For [...]

Introduction to Class Diagram

What is a Class Diagram?
A class diagram describes the types of objects in the system and the various kinds of static relationships that exist among them. It is a graphical representation of a static view on declarative static elements and a central modeling technique that runs through nearly all object-oriented methods. The richest notation in [...]