Chapter 7 Flashcards
What are user defined types
- Classes
- Structures
What are built-in types
like int, char etc
What is abstraction
Targeting relevant details
What are member functions and member variables
Declared inside class
What is state of object
When new values come inside object, we say object gone to new state
What is object
If we create variable from type, then it is called object
What is the difference between . and ->
dot operator use if we access type through name/reference and arrow key operator use if we access type through pointer.
What is interface
Through which outside world can access
What is encapsulation
Information hiding
What is public access specifier
Its a thing to access class member through interface