Which of the following statements is false?
A. You typically use a public member function to change the value in a private data member
B. Because the constructor function does not return a value, you place the keyword void before the constructor's name
C. The public member functions in a class can be accessed by any program that uses an object created from that class
D. An instance of a class is considered an object
Answer: Option B
Related Questions on Object Oriented Programming Using C Plus Plus
A. all thrown objects
B. no thrown objects
C. any thrown object that has not been caught by an earlier catch block
D. all thrown objects that have been caught by an earlier catch block
Format flags may be combined using
A. the bitwise OR operator (|)
B. the logical OR operator (||)
C. the bitwise AND operator (&)
D. the logical AND operator (&&)
E. None of the above
Join The Discussion