Answer the following statements true (T) or false (F)

1. A class declaration creates an object.
2. A private member function may only be called from a function that is a member of the same class.
3. A constructor is a public class function that gets called whenever you want to re-initialize an object's member data.
4. A class can have a member variable that is an instance of another class. This is called object nesting.

1. FALSE
2. TRUE
3. FALSE
4. FALSE

Computer Science & Information Technology

You might also like to view...

An icon of stacked sheets displays on the tabs of grouped worksheets

Indicate whether the statement is true or false

Computer Science & Information Technology

Two arrays with the same number of elements and related data are called _______ arrays.

a. sorted b. related c. identical d. parallel e. none of the above

Computer Science & Information Technology