2. • Object-oriented analysis and design can offer an approach that
facilitates logical, rapid, and thorough methods for creating
new systems responsive to a changing business landscape.
3. UNIFIED MODELING LANGUAGE (UML)
• the unified modeling language (UML), the industry standard for
modeling object-oriented systems.
• The UML toolset includes diagrams that allow you to visualize
the construction of an object-oriented system.
• Each design iteration takes a successively more detailed look
at the design of the system until the things and relationships in
the system are clearly and precisely defined in UML documents.
4. THE MAIN COMPONENTS OF UML
• are things, relationships, and diagrams.
• Diagrams are related to one another.
• Structural things are most common; they include classes,
interfaces, use cases, and many other elements that provide a
way to create models
5. OBJECT-ORIENTED CONCEPTS –
OBJECTS/CLASSES/INHERITANCE
• Object-oriented programming differs from traditional
procedural programming by examining the objects that are part
of a system.
• Each object is a computer representation of some actual thing
or event.
General descriptions of the key object-oriented concepts of
objects, classes, and inheritance.
6. OBJECTS
• Objects are persons, places, or things that are relevant to the
system we are analyzing.
• Object-oriented systems describe entities as objects. Typical
objects may be customers, items, orders, and so on.
• Objects may also be GUI displays or text areas on the display.
8. CLASSES
• Objects are typically part of a group of similar items called
classes. The desire to place items into classes is not new.
• Ex: Classes are customer, order, orderItem, product
• Parents of attibutes and methods
9. • Each class should have a name that differentiates it from all
other classes. Class names are usually nouns or short phrases
and begin with an uppercase letter.
In figure illustrated below the class is called RentalCar.
10. • An attribute describes some property that is possessed by all
objects of the class. Notice that the RentalCar class possesses
the attributes of size, color, make, and model.
In figure illustrated below the attributes are called size, color, make, model.
11. • A method is an action that can be requested from any object of
the class. Methods are the processes that a class knows to carry
out.
• Methods are also called operations.
In figure illustrated below the methods are called rentOut(), checkIn(),
service().