Object-Oriented Programming

You can view a copy of the slides used in class.
  • Overview of Object-Oriented Programming

    Examples: University Information System, Telephone Calls (e.g., Figure 0-5 of text; however, this is really not general. How would we encorporate busy lines? call waiting?)

    Key Terminology

  • Object
    (See Fig 0-6 of text)
  • Variables (a.k.a., attributes, state information)
  • Methods (a.k.a., behaviors, actions)
  • Messages (i.e., "calling a method")
  • Parameters
  • Return Values
  • Class
    (See Fig 0-6 of text)

  • Class Hierarchy
    (See Fig 0-10, Fig 0-12 of text)
  • Subclass
  • Superclass
  • Inheritence
  • Polymorphism
    (See Fig 0-14, Fig 0-15 of text)
  • Overriding a Method

  • Michael Goldwasser
    Last modified: Wednesday, 14 January 2004