Chapter 7 Flashcards

1
Q

What are user defined types

A
  • Classes

- Structures

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

What are built-in types

A

like int, char etc

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

What is abstraction

A

Targeting relevant details

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

What are member functions and member variables

A

Declared inside class

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

What is state of object

A

When new values come inside object, we say object gone to new state

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

What is object

A

If we create variable from type, then it is called object

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

What is the difference between . and ->

A

dot operator use if we access type through name/reference and arrow key operator use if we access type through pointer.

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

What is interface

A

Through which outside world can access

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

What is encapsulation

A

Information hiding

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

What is public access specifier

A

Its a thing to access class member through interface

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