Match each term with the sentence for which it is the best completion.

_____1. class

_____2. overloading

_____3. structure type

_____4. accessor

_____5. constructor

_____6. default constructor

_____7. member

_____8. constant


A. A(n) _____ is a class member function that provides a mechanism for declaring and initializing class objects.
B. The C++ _____ definition facility allows programmers to create a new C++ type by combining a collection of data elements and operations defined on these data.
C. A member function that does not alter the values of any object data members is a(n) _____ function
D. If height is a private data member of class Tree, any _____ function of the class can reference height's value just by using the name height.
E. Using the same name for several different functions or operators in a single scope is called _____.
F. A(n) _____ is a public member function that allows "read-only" use of a private data member.
G. A(n) _____ takes no arguments.
H. A _____ is a data type for a record composed of multiple components.

1. B
2. E
3. F
4. A
5. G
6. D
7. C
8. H

Computer Science & Information Technology

You might also like to view...

Another term for border is:

A) boundary. B) framework. C) frame. D) parameter.

Computer Science & Information Technology

An essential element of fraud is

A) Concealment B) Lying about facts C) Intent D) Misrepresentation of truth

Computer Science & Information Technology