Unformatted text preview: the contained objects. The containment relationship should always imply a "uses" relationship. 10.A class much know what it contains, but it should not know who contains it. 11.Objects that share lexical scope - those contained within the same containing class - should not have a uses relationship between them. (Mercer, 216-19, 440-43, 453-57, 510) Some More Key Terms of Object-Oriented Programming • Object-Based Programming (OBP): • Object-Oriented Programming (OOP): • Inheritance • Polymorphism • Dynamic Binding Works Cited • Headington, Mark A. and David Riley. Data Abstraction and Structures using C++ . Lexington, MA: Heath, 1994. • Mercer, Rick. Computing Fundamentals with C++ . Wilsonville, OR: Franklin, 1999....
View Full Document
- Fall '10
- Object-Oriented Programming, Mercer, omnipotent) classes., good class design, Inheritance Polymorphism Dynamic