Loading video...
Object Oriented Programming
- Procedural programming methods have been shown up to now
- One strength of C++ over C is the ability to implement Object Oriented Programming (OOP) techniques
- “Object” is a collection of data (attributes) that describe the object, and functions (methods) that operate on that data
- Object “class” defines the workings of an object, its attributes (data) and methods (functions)
- Object Oriented Programming emphasizes important concepts: Abstraction, Encapsulation, Inheritance and Polymorphism
- Classes can “inherit” attributes and behaviors from other classes
- C++ has “multiple inheritance” which allows a class to inherit from more than one other class
- Objects are “constructed” and “destructed” to allocate and de-allocate memory
- Here are links with more discussion about OOP in C++: http://www.cplusplus.com/doc/tutorial/classes/ http://www.cplusplus.com/doc/tutorial/inheritance/
Object Oriented Programming
Lecture Slides are screen-captured images of important points in the lecture. Students can download and print out these lecture slide images to do practice problems as well as take notes while watching the lecture.


































Start Learning Now
Our free lessons will get you started (Flash® 10 required).
Sign up for Educator.comGet immediate access to our entire library.
Features Overview