• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/28

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

28 Cards in this Set

  • Front
  • Back
The two components of an object
Properties (data) & Methods (programs). The Programs & the Data they operate on are bundled into one entity: the object.
What an object would look like if we had one.
Class
Making an object of a given class. Cookie cutter => Cookie
Instantiation
Attempts to use the classifications, relationships, & properites of an object in the system to aid in proram development & code re-use
Object Oriented Programming
Can be almost any item or concept
Object
OO software utilizes both [_____] & [_____] that interact to meet your needs
1. attributes
2. operations
Properties or Variables that relate to the object.
Attributes
Methods, actions, or function that the object can perform to modify itself or perform for some effect.
Operations
Encapsulation is also known as ...
data hiding
Data hiding is also known as ...
Encapsulation
Access to the data within an object is available only via the object's operation, known as the interface.
Encapsulation
Unique & identifiable collection of stored data & operations that operate on that data. Separate variables act as handles (unique identifiers) for the object.
Object
Represent a set of objects that might vary individually, but have a certain amount in common.
Class
Contains objects that all have the same operations behaving the same way & the same attributes representing the same things, although the value of those attributes vary from object to object.
Class
Different classes can have different behaviors for the same operation (Cars & Bikes both "move" but don't get confused). [The verb "move" can be associated with a particular set of actions only after the object acted on is made known.]
Polymorphism
This allows you to create a hierarchical relationship between classes using "subclasses."
Inheritance
This inherits attributes and operations from its superclass.
Subclass
Subclass is also known as...
Derived class, Child
Derived class is also known as...
Subclass
Superclass is also known as...
Parent
Parent class is also known as...
Superclass
These are created by declaring variables within a class definition using keys that match their visibility: public, private, or protected.
Attributes
Three kinds of visibility for an attribute:
Public, Private, and Protected.
Created by declaring functions within the class definitions.
Operations
This is called when an object is created, and it also normally performs useful initialization tasks such as setting attributes to sensible starting values or creating other objects needed by this object.
Constructor
Allow for some functionality that will be executed just before a class is destroyed, which happens when all references to class have been unset or fallen out of scope.
Destructors
Two steps for instantiating classes
1. declare a class
2. create an object
How to create an object in three steps:
1. use the "new" keyword
2. specify what class your object will be an instance of
3. provide any parameters required by the constructor.