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;
15 Cards in this Set
- Front
- Back
OOA
|
OOA is concerned with developing an object model of the application domain.
|
|
OOD
|
OOD is concerned with developing an object-oriented system model to implement requirements.
|
|
Major Benefit of Obj. Oriented Development
|
The developer thinks under the same conceptual framework throughout the entire development life cycle.
|
|
(In OOP) Interactions among objects take place via ______ ______
|
message passing
|
|
object (formal defn)
|
An object is an entity which has a state and a defined set of operations which operate on that state.
|
|
The class at the top level (having no superclass) is called the ______ class
|
root class (e.g., the class 'Object' in Java)
|
|
Characteristics (attributes) of an object are represented by ________s
|
variables (attributes)
|
|
2 types of methods
|
class methods (static methods; functions),
instance methods |
|
All instantiated objects communicate with each other via _____ ________
|
message passing
Sending a message to an object == invoking one of the receiving object's methods square.getArea() would be sending a message to the square object Generally said: "send message M to object A" ("send getArea() to square") not "send a message to object A to invoke its method M" |
|
object references
|
Objects are identified by their unique addresses internally maintained by the implementation programming language. They are called object references. An object reference uniquely identifies the object which will receive the message.
|
|
Encapsulation
|
Encapsulation means that a consumer sees only the services that are available from an object, but not how those services are implemented.
Better defns (also abstraction, information hiding): http://stackoverflow.com/questions/24626/abstraction-vs-information-hiding-vs-encapsulation/8694874#8694874 |
|
Polymorphism - static typing vs. dynamic typing
|
static polymorphism = method overloading
dynamic polymorphism = method overriding http://stackoverflow.com/questions/20783266/what-is-the-difference-b-w-dynamic-and-static-polymorphism-in-java |
|
Polymorphism
|
Polymorphism refers to the ability of an object to assume more than
one form or to be a member of more than one class. |
|
dynamic binding
|
Dynamic Binding implies that the implementation code executed in responding to a particular message in the source code is not known at compile time, and is dispatched at run time depending on the form of the polymorphic object that receives the message.
|
|
association
|
in UML, denoted by "is-member-of", "is-managed-by", etc.
Associations are general but may indicate that an attribute of an object is an associated object or that a method relies on an associated object. |