Abstract Data Types Flashcards
1
Q
From a programmer’s point of view, what is an abstract data type?
A
an object that contains data and functions
2
Q
A class definition will be placed in a ______ file.
A
header
3
Q
What is the name of the special function which will instantiate an object?
A
constructor
4
Q
Function ____ is the ability to have multiple functions of the same name.
A
overloading
5
Q
what is the :: operator called?
A
scope resolution
6
Q
the statement x.y() demonstrates the object oriented concept known as ______.
A
message passing
7
Q
(T/F) after a source file (.cpp) has been compiled, the resulting file is an .exe file.
A
F, the source file creates a .obj