04_dev275_s03 - ► ► ► Module 3 Concepts of Object Orientation 1 IBM Software Group ® Essentials of Visual Modeling with UML 2.0 Module 3

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ► ► ► Module 3 Concepts of Object Orientation 1 IBM Software Group ® Essentials of Visual Modeling with UML 2.0 Module 3: Concepts of Object Orientation Topics What Is an Object?............................................................................................... 3-4 Basic Principles of Object Orientation................................................................. 3-10 What Is a Class?.................................................................................................. 3-20 The Relationship Between Classes and Objects................................................... 3-23 What Is a Package?............................................................................................. 3-35 © Copyright IBM Corp. 2004 3 - 1 Course materials may not be reproduced in whole or in part without the prior written permission of IBM. Essentials of Visual Modeling with UML 2.0 Objectives 2 Objectives ¡ Describe abstraction, encapsulation, modularity, and hierarchy. ¡ Describe the physical structure of a class. ¡ Describe the relationship between a class and an object. ¡ Define polymorphism and generalization. 3 - 2 © Copyright IBM Corp. 2004 Course materials may not be reproduced in whole or in part without the prior written permission of IBM. Module 3 - Concepts of Object Orientation Where Are We? 3 Where Are We? ¡ What is an object? ¡ Four principles of OO ¡ What is a class? ¡ Polymorphism and generalization ¡ Organizing model elements © Copyright IBM Corp. 2004 3 - 3 Course materials may not be reproduced in whole or in part without the prior written permission of IBM. Essentials of Visual Modeling with UML 2.0 What Is an Object? 4 ¡ Informally, an object represents an entity, either physical, conceptual, or software. ¢ Physical entity ¢ Conceptual entity ¢ Software entity Truck Chemical Process Linked List What Is an Object? Objects allow the software developer to represent real-world concepts in their software design. These real-world concepts can represent a physical entity such as a person, truck, or space shuttle. Objects can be concepts like a chemical process or algorithms. Object can even represent software entities like a linked list. 3 - 4 © Copyright IBM Corp. 2004 Course materials may not be reproduced in whole or in part without the prior written permission of IBM. Module 3 - Concepts of Object Orientation A More Formal Definition 5 A More Formal Definition ¡ An object is an entity with a well-defined boundary and identity that encapsulates state and behavior. ¢ State is represented by attributes and relationships. ¢ Behavior is represented by operations, methods, and state machines. Object Operations Attributes An object is an entity that has a well-defined boundary. That is, the purpose of the object should be clear....
View Full Document

This note was uploaded on 11/10/2010 for the course PROGRAMMIN 2860U taught by Professor Saman during the Fall '10 term at UOIT.

Page1 / 40

04_dev275_s03 - ► ► ► Module 3 Concepts of Object Orientation 1 IBM Software Group ® Essentials of Visual Modeling with UML 2.0 Module 3

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online