Which of the following statements is false?
A. A class encapsulates all of an object's attributes and behaviors
B. An example of an attribute is the minutes variable in a time class
C. An example of a behavior is the setTime function in a time class
D. A class is considered an object
E. An object created from a class is referred to as an instance of the class
Answer: Option D
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