Classes Flashcards

1
Q

Class

A

Groups data and functions to form an object

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

Mutator

A
aka Setter
Modifies the class data members
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Accessor

A

aka Getter

Accesses (but doesn’t modify) data members

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

Base Class

A

aka Superclass

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

Subclass

A

Inherits the properties of its base class.

Has access to public and protected members of base class.

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