Object Oriented Languages Flashcards

0.0(0)
studied byStudied by 2 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Get a hint
Hint

Class (OOP)

Get a hint
Hint

A blueprint or template used to create objects in Object-Oriented Programming (OOP). Defines attributes and methods.

Get a hint
Hint

Object (OOP)

Get a hint
Hint

A specific instance of a class, possessing its own state and behaviors. It's a representation of a real-world entity.

Card Sorting

1/12

Anonymous user
Anonymous user
flashcard set

Earn XP

Description and Tags

Flashcards covering key concepts in Object Oriented Languages.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

13 Terms

1
New cards

Class (OOP)

A blueprint or template used to create objects in Object-Oriented Programming (OOP). Defines attributes and methods.

2
New cards

Object (OOP)

A specific instance of a class, possessing its own state and behaviors. It's a representation of a real-world entity.

3
New cards

Method (OOP)

Actions or behaviors that can be performed by objects or classes. Can be a function (returning a value) or a procedure (not returning a value).

4
New cards

Attribute (OOP)

A data member or property associated with an object or a class, defining the state of an object. Also known as Class Variables.

5
New cards

Inheritance (OOP)

A mechanism where a class inherits the properties and behaviors of another class, promoting code reuse and establishing an 'IS-A' relationship.

6
New cards

Encapsulation (OOP)

Grouping data (attributes) and methods (functions) within a class, controlling access to them using access modifiers to ensure data security and code organization.

7
New cards

Polymorphism (OOP)

A concept where objects can take on different forms or behaviors. Different objects can share the same name or behavior but can work in different ways.

8
New cards

Instantiation

The term used for creating an object from a class.

9
New cards

Constructor

A special method within a class automatically called when an object is created (instantiated) to define initial values and perform setup.

10
New cards

Public Method

A method accessible and able to be invoked by any code within the same class or from any external classes

11
New cards

Private Method

A method only accessible within the same class and cannot be invoked by external code or other classes

12
New cards

Instance Method

Methods associated with individual instances/objects of a class that operate on the specific data and properties of an object.

13
New cards

Static Methods

Methods associated with a class itself and can be called without creating an instance (object) of the class