OOP Flashcards

1
Q

encapsulation

A

Encapsulation allows us to write, test and maintain object codes without interfering with other object codes.
/attributes cant be directly assesed or edited

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

polymorphism

A

is the ability of a programming language to process objects differently based on their class. This reduces the volume of code they need to produce.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

inheritance

A

child class inherits properties and attributes off the parent class

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what are objects

A

Objects are the basic building blocks of object-oriented programming

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

whats a class

A

Class is the blueprint of an object.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what do attributes do

A

give an object’s properties

How well did you know this?
1
Not at all
2
3
4
5
Perfectly