Flashcards
Untitled
Cards in this deck (7)
- 1Three Pillars of OOP1. Encapsulation
2. Inheritance
3.Polymorphism - 2EncapsulationThe facility by which we can store data in an object and provide for data integrity by using "setter" and "getter" methods
- 3InheritanceThe ability to have one class inherit the attributes of another class
- 4Object.Attribute Lookup Hierarchy1. The Instance
2. The class
3. Any class from which this class inherits - 5PolymorphismTwo classes can have the same interface (i.e., method name), but are often different though conceptually similar
- 6Duck TypingBeing able to work with different data types by calling methods without checking the type ahead of time while handling errors using exception methods
- 7—
Information
- Description
- Flashcards on Untitled, created by J C on 06/02/2018.
- Created by
- J C
- Views
- 0
- Rating