OOP Exam 2 - Vocab

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

1/32

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.

33 Terms

1
New cards

Abstract Class

A class that cannot be instantiated

2
New cards

Class Hierachy

Defines the inheritance relationships between a set of classes

3
New cards

Destructor

A special class member that cleans up when an object is deleted.

4
New cards

Interface

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

5
New cards

Package

A grouping of related types providing access protection and namespace management.

6
New cards

Abstract Method

A method declared with no implementation.

7
New cards

Class Library

A collection of classes designed to be used together efficiently

8
New cards

Encapsulation

Bundling data and code into a restricted container

9
New cards

Multiple Inheritance

A subclass inheriting class members from two or more superclasses.

10
New cards

Primitive type

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

11
New cards

Abstraction

Specifying a general interface while hiding implementation details.

12
New cards

Constructor

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

13
New cards

Enumerated type

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

14
New cards

Namespace

A named scope

15
New cards

Setter

A method that changes the value of a private variable

16
New cards

Algorithm

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

17
New cards

Declaration

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

18
New cards

Getter

A method that returns the value of a private variable.

19
New cards

Object

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

20
New cards

Subclass

The class inheriting members

21
New cards

Class

A template encapsulating data and code that manipulates it

22
New cards

Definition

A declaration that also fully specifies the entity declared

23
New cards

Inheritance

Reuse and extension of fields and method implementations from another class.

24
New cards

Override

A subclass replacing its superclass’ implementation of a method.

25
New cards

Superclass

The class from which members are inherited

26
New cards

Baseline

A reference point in a version control system, usually indicating completion and approval of a product release and sometimes used to support a fork.

27
New cards

Invariant

Code for which specified assertions are guaranteed to be true

28
New cards

Shadowing

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

29
New cards

Exception

An object created to represent an error or other unusual occurrence and then propagated via special mechanisms until caught by special handling code

30
New cards

Fork

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

31
New cards

Assertion

An expression that, if false, indicates a program error (in Java, via the assert keyword).

32
New cards

Data Validation

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

33
New cards

Validation Rules

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