Object Oriented Programming in C++

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

1/14

flashcard set

Earn XP

Description and Tags

These flashcards cover key concepts and vocabulary related to Object Oriented Programming in C++, including definitions of classes, objects, and fundamental principles such as encapsulation and operator overloading.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No study sessions yet.

15 Terms

1
New cards

Class

A user-defined data type that serves as a blueprint for creating objects.

2
New cards

Object

An instance created from a class that represents the result of the blueprint.

3
New cards

Encapsulation

A fundamental principle of object-oriented programming that restricts access to the internals of a class.

4
New cards

Data Hiding

A principle where private data members cannot be accessed directly from outside the class, protecting the internal state.

5
New cards

Class Constructor

A special member function that is executed when a new object of the class is created.

6
New cards

Default Constructor

A constructor that does not take any parameters and is automatically provided by the compiler if none is defined.

7
New cards

Operator Overloading

A feature that allows redefining the way operators work with user-defined types.

8
New cards

Binary Operator

An operator that takes two operands.

9
New cards

Unary Operator

An operator that takes only one operand.

10
New cards

Arithmetic Operators

Operators such as +, -, *, /, which can be overloaded for custom classes.

11
New cards

Comparison Operators

Operators such as ==, !=, <, etc., which can be overloaded to compare objects.

12
New cards

Friend Function

A function that is not a member of a class but has access to its private members.

13
New cards

Constructor Initialization

The process of setting initial values for object attributes within the constructor.

14
New cards

Method

A function defined in a class that describes the behaviors of the objects created from the class.

15
New cards

Access Specifier

Keywords used to set the accessibility of classes and their members (public, private, etc.).