Chapter 20 ObjectOriented Concepts and Principles - PowerPoint PPT Presentation

About This Presentation
Title:

Chapter 20 ObjectOriented Concepts and Principles

Description:

'blueprint' ... describing a collection of similar items ... once a class of items is defined, a specific instance of the class can be defined ... – PowerPoint PPT presentation

Number of Views:84
Avg rating:3.0/5.0
Slides: 11
Provided by: roger280
Learn more at: http://www.cs.fsu.edu
Category:

less

Transcript and Presenter's Notes

Title: Chapter 20 ObjectOriented Concepts and Principles


1
Chapter 20Object-Oriented Conceptsand Principles
2
The OO Process Model
3
The OO Mindset
objects
problem domain
4
Key Concepts
  • classes and class hierarchies
  • instances
  • inheritance
  • abstraction and hiding
  • objects
  • attributes
  • methods
  • encapsulation
  • polymorphism
  • messages

5
Classes
  • object-oriented thinking begins with the
    definition of a class often defined as
  • template
  • generalized description
  • pattern
  • blueprint ... describing a collection of
    similar items
  • a metaclass (also called a superclass) is a
    collection of classes -- hmmmmmmmmm
  • once a class of items is defined, a specific
    instance of the class can be defined

6
Building a Class
7
What is a Class?
occurrences
roles
organizational units
things
places
external entities
structures
class name
attributes
operations
8
Encapsulation/Hiding
The object encapsulates both data and the
logical procedures required to manipulate the data
9
Class Hierarchy
10
Messages
Write a Comment
User Comments (0)
About PowerShow.com