Introduction Flashcards
OOP meaning
method of programming based on a hierarchy of classes with well defined and cooperating objects. A language model organized around objects
Object
executable copy of a class
Characteristics of objects
state and behavior
Class
blueprint from which individual objects are created
Package
namespace that organizes a set of related classes and interfaces
Interface
group of related methods with empty bodies
Encapsulation
concept that enables hiding of unnecessary details in classes and only providing a clear and simple interface for working with them
Inheritance
enable new objects to take on the properties of existing objects
Superclass
basis for inheritance
Subclass
class that inherits from a superclass
Abstraction
process of extracting common features from specific examples
Types of Abstraction
data, functional and object
Polymorphism
ability to present the same interface for differing underlying forms
Types of Polymorphism
method overloading and overriding
Garbage Collection
form of automatic memory management whereby the garbage collector attempts to reclaim garbage or memory occupied by objects that are no longer in use by the program