fixed OOP final

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/59

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

60 Terms

1
New cards

Object-Oriented Programming (OOP)

A style of programming focused on the use of classes and class hierarchies

2
New cards

Polymorphism

The provision of a single interface to multiple derived classes, enabling the same method call to invoke different derived methods to generate different results

3
New cards

Inheritance

Reuse and extension of fields and method implementations from another class

4
New cards

Encapsulation

Bundling data and code into a restricted container

5
New cards

Abstraction

Specifying a general interface while hiding implementation details

6
New cards

Primitive type

A data type that can typically be handled directly by the underlying hardware

7
New cards

Enumerated type

A data type that includes a fixed set of constant values called enumerators

8
New cards

Class

A template encapsulating data and code that manipulates it

9
New cards

Interface

A reference type containing only method signatures, default methods, static methods, constants, and nested types

10
New cards

Instance

An encapsulated bundle of data and code (e.g., an instance of a program is a process; an instance of a class is an object)

11
New cards

Object

An instance of a class containing a set of encapsulated data and associated methods

12
New cards

Variable

A block of memory associated with a symbolic name that contains a primitive data value or the address of an object instance

13
New cards

Operator

A short string representing a mathematical, logical, or machine control action

14
New cards

Reference Counter

A managed memory technique that tracks the number of references to allocated memory, so that the memory can be freed when the count reaches zero

15
New cards

Garbage Collector

A program that runs in managed memory systems to free unreferenced memory

16
New cards

Field

A class member variable

17
New cards

Constructor

A special class member that creates and initializes an object from the class

18
New cards

Destructor

A special class member that cleans up when an object is deleted (not supported by Java)

19
New cards

Method

A function that manipulates data in a class

20
New cards

Getter

A method that returns the value of a private variable

21
New cards

Setter

A method that changes the value of a private variable

22
New cards

Multiple Inheritance

A subclass inheriting class members from two or more superclasses

23
New cards

Superclass

The class from which members are inherited

24
New cards

Subclass

The class inheriting members

25
New cards

Abstract Class

A class that cannot be instantiated

26
New cards

Abstract Method

A method declared with no implementation

27
New cards

Override

A subclass replacing its superclass’ implementation of a method

28
New cards

Declaration

A statement that introduces a name with an associated type into a scope

29
New cards

Definition

A declaration that also fully specifies the entity declared

30
New cards

Shadowing

A variable declared in a narrower scope than that of a variable of the same name in a broader scope

31
New cards

Namespace

A named scope

32
New cards

Package

A grouping of related types providing access protection and namespace management

33
New cards

Generic Programming

Writing algorithms in terms of types that are specified as parameters during instantiation or invocation

34
New cards

Generic

A Java construct representing a method or class in terms of generic types

35
New cards

Java Class Library

A library of algorithms focused on organizing code and data as Java generics

36
New cards

Collection

An object that stores and manages other objects

37
New cards

Iterator

A pointer-like abstraction referring to elements of a collection

38
New cards

Algorithm

A procedure for solving a specific problem, expressed as an ordered set of actions

39
New cards

Stack

Scratch memory for a thread of execution

40
New cards

Heap

Memory shared by all threads of execution for dynamic allocation

41
New cards

Global

Memory for static fields (and in C++, non-scoped variables)

42
New cards

Code

Read-only memory for machine instructions

43
New cards

Concurrency

Performing two or more algorithms simultaneously

44
New cards

Process

A self-contained execution environment including its own memory space

45
New cards

Thread

An independent path of execution within a process running concurrently with other threads

46
New cards

Reentrant

An algorithm that can pause while executing, then safely be executed by a different thread

47
New cards

Mutex

An object that prevents two properly written threads from concurrently accessing a shared resource

48
New cards

Synchronized

The ability to control the access of multiple threads to any shared resource

49
New cards

Exception

An object representing an error or unusual occurrence, propagated until caught

50
New cards

Assertion

An expression that, if false, indicates a program error

51
New cards

Invariant

Code for which specified assertions are guaranteed to be true

52
New cards

Data Validation

Ensuring that a program operates on clean, correct, and useful data

53
New cards

Validation Rules

Algorithmically enforceable constraints on correctness, meaningfulness, and security of input data

54
New cards

Version Control

The task of keeping a system consisting of many versions well organized

55
New cards

Branch

A second distinct development path within the same version control system

56
New cards

Fork

A distinct and independent development path (often by another organization) to create a unique product

57
New cards

Baseline

A reference point in a version control system indicating completion/approval of a product release

58
New cards

Unified Modeling Language (UML)

The standard visual modeling language for describing, specifying, designing, and documenting object-oriented systems

59
New cards

Class Hierarchy

Defines the inheritance relationships between a set of classes

60
New cards

Class Library

A collection of classes designed to be used together efficiently