Programming in c++ Object-Oriented Software Development Dale/eems/Headington
1 Object-Oriented Software Development
Programming in C++ Chapter 14 Topics o Structured Programming vS Object-Oriented Programming o Using Inheritance to Create a New C++ class Type o Using Composition(Containment) to Create a New C++ class Type x Static vS. Dynamic Binding of Operations to Objects Virtual Member Functions Object-Oriented Design Implementing the Design
2 Chapter 14 Topics ❖Structured Programming vs. Object-Oriented Programming ❖Using Inheritance to Create a New C++ class Type ❖Using Composition (Containment) to Create a New C++ class Type ❖Static vs. Dynamic Binding of Operations to Objects ❖Virtual Member Functions ❖Object-Oriented Design ❖Implementing the Design
Programming in C++ Structured Programming vs Object-Oriented programming Structured(procedural)programming: the construction of programs that are collections of interacting functions or procedures Object-oriented programming(ooP) the use of abstraction, inheritance, and dynamic binding to construct programs that are collections of interacting objects
3 Structured Programming vs. Object-Oriented programming ❖Structured(procedural)programming:the construction of programs that are collections of interacting functions or procedures. ❖Object-oriented programming(OOP):the use of abstraction, inheritance, and dynamic binding to construct programs that are collections of interacting objects
Programming in C++ Two Programming Paradigms Structural ( Procedural) Obiect-Oriented PROGRAM PROGRAM(OOP) FUNCTION OBJECT Operations FUNCTION Data OBJECT OBJECT Operations FUNCTION Operations Data Data
4 Two Programming Paradigms Structural (Procedural) Object-Oriented PROGRAM PROGRAM(OOP) FUNCTION FUNCTION FUNCTION OBJECT Operations Data OBJECT Operations Data OBJECT Operations Data
Programming in C++ Object-Oriented Programming Language Features 1. Data abstraction 2. Inheritance of properties 3. Dynamic binding of operations to objects
5 Object-Oriented Programming Language Features 1. Data abstraction 2. Inheritance of properties 3. Dynamic binding of operations to objects