C++ Flashcards

(11 cards)

1
Q

public

A

freely accessible

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

protected

A

access restricted to subclasses

only accessible within base class and subclasses, similar to private

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

private

A

access restricted to this class only

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

member function

A

method

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

data member

A

slot

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

friend

A

function qualification permitting unrestricted access

gives a non-member function access to private or protected data

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

virtual

A

function may be overridden

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

pure virtual

A

function must be overridden

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

constructor

A

function that creates instances

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

destructor

A

function that discards instances, connects with storage management

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