click below
click below
Normal Size Small Size show me how
IPL_Ch10
Chapter10_Programming Logic
| Term | Definition |
|---|---|
| Object-oriented programming | programming model that focuses on an application's components, data, and methods being manipulated |
| class | a group of objects with common attributes |
| object | one tangible example of a class; it is an instance of a class |
| instance | one tangible example of a class; it is an object |
| attributes | the characteristics that define an object |
| inheritance | the process of acquiring the traits of one's predecessors |
| encapsulation | the process of combining all of an object's attributes and methods into a single package |
| private access | specifies that data or methods cannot be used by any method that is not part of the same class |
| public access | specifies that other programs and methods can use the specified data or methods within a class |
| static methods | those for which no object needs to exist; they are not instance methods and they don't receive a this reference |
| class methods | a static method, not an instance method and they don't receive a this reference |
| non-static methods | methods that exist to be used with an object, they receive a this reference |
| instance methods | operates correctly yet differently for each object, and they implicitly receive a this reference |
| this reference | an automatically created variable that holds the address of an object that it passes to an instance method when called |