OOP Flashcards

1
Q

Abstraction

A

Hiding implementation details from the user.

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

Inheritance

A

Using super and sub classes to inherit details from one another.
Example, animal and dog

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

Polymorphism

A
Inheritance but different forms
Animal dog = new Dog();
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Encapsulation

A

Protecting data by limiting access utilizing getters and setters.

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