Object-Oriented Paradigm Flashcards
Through encapsulation data can be protected within an object definition. When modeling an object this relationship is referred to as __________.
“Has-a” Relationship
The concept of inheritance in OOP, where one class is derived from another class. For instance, a Student class is derived from a Person class.
“Is-a” Relationship
A term associated with encapsulation, one of the three central principles (along with polymorphism and inheritance). Through this process, a programmer hides all but the relevant data about an object in order to reduce complexity and increase efficiency.
Abstraction
A class in object-oriented programming that inherits the characteristics of a parent class.
Child Class
The definition of an object in OOP, describing the type of data owned by the object, as well as methods that act on that data.
Class
In OOP, this is the process of combining simpler data types into more complex data types. For example, in defining a Car class, it might be made up of a BodyType class, an Engine class, and a TranmissionType class, among many other possible items.
Composition
One of the three primary aspects of object oriented programming that incorporates related data items and methods into a class definition, including instance variables, constructors, accessor, and modifier methods.
Encapsulation
A form of declarative programming. An approach to problem solving. Language that fit this description include Scheme, Haskell, LISP, Racket, and F#.
Functional Programming
A paradigm in programming that is often referred to as procedural, where a developer writes code that describes in exacting detail the steps that the computer must take to accomplish the goal. Most of the mainstream programming languages, such as C++, Java, and Python, are considered these languages.
Imperative Programming
The process of encapsulation and abstraction in object-oriented programming that provides a programming interface to a process, but does not reveal the actual workings of the process.
Information Hiding
One of the three pillars of object-oriented programming that allows for classes to be defined based on previously defined and developed classes, taking all of the characteristics of the super class, and then expanding on those features.
Inheritance
A programming entity that encapsulates data and related methods.
Object
Is a programming language model organized around objects rather than “actions” and data rather than logic.
Object-Oriented Programming
The polymorphic feature of object-oriented programming where methods inherited from parent classes, such as the toString method from the Object class, are redefined and customized to better fit the purpose of the current class.
Overriding Methods
The polymorphic feature of object-oriented programming where constructors and methods are named the same but operate on different input parameters in order to perform the same task.
Overloading Methods