Exam 1 Info Flashcards

1
Q

Defines a specific state of an object

A

The 3 constructors

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

Default state
(numbers are zeroed, blanked strings)

A

Default

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

Defined state of our object
(params are passed in to set attributes of the obj)

A

Parameters

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

Makes a copy of the current state of our obj
Ex: Pet(const Pet& .rhs)

A

Copy

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

Declaration files

A

.h files

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

Implementation files

A

.cpp files

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