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;
8 Cards in this Set
- Front
- Back
Polymorphism
|
Objects from different classes defining methods that share the same name however have different implementations. (i.e. Both squares and circles have computeArea method, however the area is computed in different ways)
|
|
Dynamic Typing
|
Defers the determination of the class an object belongs to until the program is executing.
|
|
Dynamic Binding
|
Defers the determination of the actual method to invoke on an object until program execution.
|
|
What is the id data type?
|
Generic Object type can be used to store an object of any type. Good example of dynamic binding and typing.
|
|
The initialize Method
|
When a program begins execution, it sends an initialize method call to all classes.
|
|
@protected
|
Class and subclasses have access to these instance variables.
|
|
@private
|
Class, but not subclasses have access to these instance variables.
|
|
@public
|
Other classes also have access to these instance variables. Using the -> operator.
|