Chapter 7 Vocabulary Flashcards
(20 cards)
Object
A concrete example of a class
What is Object Oriented Programming?
Is a style of programming that focuses on an applications data and the methods you need yo manipulate the data
Class
A term that describes a group of objects with common properties
Class Definition
Describes a group of objects with common properties
Instance
An existing object of a class
Instantiating
Created an object
Class client
A program or class that instantiates objects of another pre-written class
Instance Variable
Each data variable that exists
Field
AKA-instance variable
Get Methods
Retrieval commands such as getPay() or getIncome()
Private Methods
Method cannot be accessed by any method not part of that class
Public Access
Other programs or methods can be used cause they are recognized
Access Specifier
AKA-( access modifier) - indicates with a shaded bar what is specified
Data Hiding
Most data fields should always be private
Inheritance
Extending or modifying a class
Extend
When a new class is created with inheritance
Base Class
AKA- Parent Class, Superclass
Main class identifier
Derived Class
AKA- Child Class, Subclass
A class with inheritance from a base
Polymorphism
Means “many forms”
Describes languages ability to process objects differently
Overrides
Takes precedence over something else