Exam 11: Introduction to Classes

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

How you choose to store data in a user-defined abstract data type is called its data ____________________.

(Short Answer)
4.9/5
(39)

Defining more than one ____________________ constructor for a class is a common programming error.

(Short Answer)
4.7/5
(41)

When constructing a class in C++, the ____ section declares both the data types and functions for the class.

(Multiple Choice)
4.8/5
(34)

The ____ keyword specifies that the class members following it can be accessed only by using the class functions.

(Multiple Choice)
4.8/5
(39)

A common programming error consists of failing to terminate the class declaration section with a ____ character.

(Multiple Choice)
5.0/5
(40)

C++ constructors cannot be written as inline functions.

(True/False)
4.8/5
(38)

Just as a variable of an integer type must be defined, variables of a user-declared class must also be defined.

(True/False)
4.9/5
(28)

By definition, a(n) ____________________ is simply a user-defined type that defines both a type of data and the operations that can be performed on it.

(Short Answer)
4.9/5
(43)

Like constructors, there can be more than one destructor function per class.

(True/False)
4.8/5
(45)

Both the variables and functions listed in the class declaration section are collectively referred to as ____.

(Multiple Choice)
4.8/5
(34)
Showing 41 - 50 of 50
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)