Chap02-ObjectOrient

Chap02-ObjectOrient - Chapter2 Introductionto...

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

View Full Document Right Arrow Icon
1 Chapter 2 Introduction to  Object-Orientation
Background image of page 1

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

View Full DocumentRight Arrow Icon
2 Learning Objectives Define an object Understand the terms class, attribute,  operation Explain generalization, polymorphism, and  inheritance as applied to objects Define associations between objects Describe object modeling and the Unified  Modeling Language (UML)
Background image of page 2
3 Unified Modeling Language  (UML) A standard notation for representing object- oriented systems, typically through diagrams Boxes represent classes, components,  packages, objects Containing attributes and operations Provide interfaces to external entities Lines represent relationships between parts
Background image of page 3

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

View Full DocumentRight Arrow Icon
Background image of page 4
5 What Is an Object? Some entity that encapsulates: characteristics  behavior Objects are categorized into  classes Each individual object is an  instance  of a  class Objects interact by exchanging  messages   (calls to and returned values of operations)
Background image of page 5

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

View Full DocumentRight Arrow Icon
6 What Is Encapsulation? The characteristic of object-orientation in  which data and behavior are bundled into a  class and hidden from the outside world Access to the data and behavior is provided  and controlled through an object’s  interface
Background image of page 6
7 What is a Class? A category of objects that share the same 
Background image of page 7

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

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

This note was uploaded on 04/19/2010 for the course COMPUTER COMP 257 taught by Professor Bobbarlow during the Spring '10 term at Tampa.

Page1 / 27

Chap02-ObjectOrient - Chapter2 Introductionto...

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

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