cse-2315 Flashcards
cse
OOP
A style of programming focused on the use of classes and class hierarchies.
Polymorphism
The provision of a single interface to multiple subclasses, enabling the same method call to invoke different subclass methods to generate different results.
Inheritance
Reuse and extension of fields and method implementations from another class.
Encapsulation
Definition: Bundling data and code into a restricted container.
Abstraction
Definition: Specifying a general interface while hiding implementation details.
Term: Primitive type
Definition: A data type that can typically be handled directly by the underlying hardware.
Term: Enumerated type
Definition: A data type that includes a fixed set of constant values called enumerators.
Term: Class
Definition: A template encapsulating data and code that manipulates it.
Term: Instance
Definition: An encapsulated bundle of data and code.
Term: Object
Definition: An instance of a class containing a set of encapsulated data and associated methods.
Term: Variable
Definition: A block of memory associated with a symbolic name that contains a primitive data value or the address of an object instance.
Term: Operator
Definition: A short string representing a mathematical, logical, or machine control action.
Term: Field
Definition: A class member variable.
Term: Constructor
Definition: A special class member that creates and initializes an object from the class.
Term: Destructor
Definition: A special class member that cleans up when an object is deleted.
Term: Method
Definition: A function that manipulates data in a class.
Term: Friend
Definition: A class or a function that is granted access to its friend class’ private class members.
Term: Operator Overloading
Definition: Providing a user-defined meaning to a pre-defined operator for a user-defined type.
Term: Getter
Definition: A method that returns the value of a private field.
Term: Setter
Definition: A method that changes the value of a private field.
Term: Multiple Inheritance
Definition: A subclass inheriting class members from two or more superclasses.
Term: Superclass
Definition: The class from which members are inherited.
Term: Subclass
Definition: The class inheriting members.