OOP Flashcards

1
Q

What are classes?

A

A template definition of the methods and variables in a particular kind of object.

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

What are objects/instances?

A

This is a data field that has unique attributes and behavior.

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

What is inheritance?

A

This is a mechanism that allows a class to inherit properties and behaviors from another class.

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

What is encapsulation?

A

A way to restrict the direct access to some components of an object.
A concept used to bundle data and methods into easy-to-use units.

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

What is polymorphism and overloading?

A

This is the provision of a single interface to entities of different types, or the use of a single symbol to represent multiple different types.
The ability of a message to be displayed in more than one form.

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