OOp Flashcards
Sequence of instructions expressed in specific programming language.
Program
Computers native language.
Machine language
He received ACM’s Turing Award, the “Nobel Prize of Computing,” in 2003 for Smalltalk, the first complete dynamic OOPL
Dr. Alan Kay
Simplified representation of salient features of something, either tangible or abstract
Model
Grammatical rules for forming instructions.
Syntax
Collection of collaborating components
System
Two-step process to translate from Java to machine language:
Execution
Semantics
Syntax
Compilation
Execution, Compilation
In OOP, objects are considered anthropomorphic. anthropomorphic meaning ____
Smart
Java was developed by Sun Microsystems and it is meant to run on many “platforms” without change, from desktop to cell phones
True
False
True
These are methods that retrieves field values.
accessor
It is the blueprint of an object.
Class
It is the abstraction of a real world concept into programming.
Object
It is the representation of object characteristics on Java programming.
Attributes
What is the value of an object types in the default constructor?
null
It is the concept of hiding details you do not care about as a user.
Abstraction
These are the capabilities of an object
Behavior
Where does overloaded methods differ?
parameter list
This property states that objects are smart on their own but requires others to tell what it needs to do.
Anthropomorphic
It is the keyword that pointsto the current instance.
this
a relationship where 1 object relies on the existence of the other object. Thus, when the independent object is cleared, the dependent is object will be useless on its own.
Composition
a relationship between 2 independent objects where one can exist without the other. Each object can perform on its own, however linking them provides more meaning.
Aggregation
an asymmetrical connection between 2 objects depicting “Is-a” relationship. It also shows a heirarchical order between the objects. In this type of relationship, an object can either be the parent class or the child class.
Inheritance
it is the base class to be used. It is also known as “superclass”.
Parent
it is the derived class from the parent. It is also known as “subclass”.
Child
means “many forms”. It is a way of coding generically. This allows us to collectively call all the instances of the subclasses as the superclass type.
Polymorphism
It is an annotation that tells the interpreter that we are specifically overriding a method.
@Override
is a Java code that provides only method signatures in the body. It requires the implementer to define the actions for the corresponding methods.
interface
represents “Has-a” relationship.
Association
models “Is-a” relationship.
Inheritance